summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/atom.xml/footer.xml1
-rw-r--r--templates/atom.xml/header.xml8
-rw-r--r--templates/atom.xml/item.xml12
-rw-r--r--templates/atom_content.xml/footer.xml1
-rw-r--r--templates/atom_content.xml/header.xml8
-rw-r--r--templates/atom_content.xml/item.xml15
-rw-r--r--templates/index.html/footer.html7
-rw-r--r--templates/index.html/header.html41
-rw-r--r--templates/index.html/item.html1
-rw-r--r--templates/page/footer.html5
-rw-r--r--templates/page/header.html40
-rw-r--r--templates/page/item.html6
-rw-r--r--templates/rss.xml/footer.xml2
-rw-r--r--templates/rss.xml/header.xml8
-rw-r--r--templates/rss.xml/item.xml8
-rw-r--r--templates/rss_content.xml/footer.xml2
-rw-r--r--templates/rss_content.xml/header.xml8
-rw-r--r--templates/rss_content.xml/item.xml10
-rw-r--r--templates/sitemap.xml/footer.xml1
-rw-r--r--templates/sitemap.xml/header.xml2
-rw-r--r--templates/sitemap.xml/item.xml4
-rw-r--r--templates/twtxt.txt/footer.txt0
-rw-r--r--templates/twtxt.txt/header.txt0
-rw-r--r--templates/twtxt.txt/item.txt1
-rw-r--r--templates/urllist.txt/item.txt1
25 files changed, 192 insertions, 0 deletions
diff --git a/templates/atom.xml/footer.xml b/templates/atom.xml/footer.xml
new file mode 100644
index 0000000..f2d5538
--- /dev/null
+++ b/templates/atom.xml/footer.xml
@@ -0,0 +1 @@
+</feed>
diff --git a/templates/atom.xml/header.xml b/templates/atom.xml/header.xml
new file mode 100644
index 0000000..d42faca
--- /dev/null
+++ b/templates/atom.xml/header.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="${lang}">
+	<title type="text">${sitetitle}</title>
+	<subtitle type="text">${description}</subtitle>
+	<updated>${siteupdated}T00:00:00Z</updated>
+	<link rel="alternate" type="text/html" href="${siteurl}" />
+	<id>${siteurl}/atom.xml</id>
+	<link rel="self" type="application/atom+xml" href="${siteurl}/atom.xml" />
diff --git a/templates/atom.xml/item.xml b/templates/atom.xml/item.xml
new file mode 100644
index 0000000..e0e7a9d
--- /dev/null
+++ b/templates/atom.xml/item.xml
@@ -0,0 +1,12 @@
+<entry>
+	<title type="text">${title}</title>
+	<link rel="alternate" type="text/html" href="${siteurl}/${filename}" />
+	<id>${siteurl}/${filename}</id>
+	<updated>${updated}T00:00:00Z</updated>
+	<published>${created}T00:00:00Z</published>
+	<author>
+		<name>${author}</name>
+		<uri>${siteurl}</uri>
+	</author>
+	<summary type="text">${description}</summary>
+</entry>
diff --git a/templates/atom_content.xml/footer.xml b/templates/atom_content.xml/footer.xml
new file mode 100644
index 0000000..f2d5538
--- /dev/null
+++ b/templates/atom_content.xml/footer.xml
@@ -0,0 +1 @@
+</feed>
diff --git a/templates/atom_content.xml/header.xml b/templates/atom_content.xml/header.xml
new file mode 100644
index 0000000..d42faca
--- /dev/null
+++ b/templates/atom_content.xml/header.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="${lang}">
+	<title type="text">${sitetitle}</title>
+	<subtitle type="text">${description}</subtitle>
+	<updated>${siteupdated}T00:00:00Z</updated>
+	<link rel="alternate" type="text/html" href="${siteurl}" />
+	<id>${siteurl}/atom.xml</id>
+	<link rel="self" type="application/atom+xml" href="${siteurl}/atom.xml" />
diff --git a/templates/atom_content.xml/item.xml b/templates/atom_content.xml/item.xml
new file mode 100644
index 0000000..6b23a04
--- /dev/null
+++ b/templates/atom_content.xml/item.xml
@@ -0,0 +1,15 @@
+<entry>
+	<title type="text">${title}</title>
+	<link rel="alternate" type="text/html" href="${siteurl}/${filename}" />
+	<id>${siteurl}/${filename}</id>
+	<updated>${updated}T00:00:00Z</updated>
+	<published>${created}T00:00:00Z</published>
+	<author>
+		<name>${author}</name>
+		<uri>${siteurl}</uri>
+	</author>
+	<summary type="text">${description}</summary>
+	<content type="html"><![CDATA[<h1>${title}</h1>
+	<p><strong>Last modification on </strong> <time>${updated}</time></p>
+	%{contentfile}]]></content>
+</entry>
diff --git a/templates/index.html/footer.html b/templates/index.html/footer.html
new file mode 100644
index 0000000..ead1ef0
--- /dev/null
+++ b/templates/index.html/footer.html
@@ -0,0 +1,7 @@
+			</table>
+		</div>
+    <hr>
+    <a href="kronika.zip">📁 Pobierz archiwum</a>
+	</main>
+  </body>
+</html>
diff --git a/templates/index.html/header.html b/templates/index.html/header.html
new file mode 100644
index 0000000..5e642f3
--- /dev/null
+++ b/templates/index.html/header.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html dir="ltr" lang="${lang}">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <meta http-equiv="Content-Language" content="${lang}" />
+    <meta name="viewport" content="width=device-width" />
+    <meta name="keywords" content="${keywords}" />
+    <meta name="description" content="${description}" />
+    <meta name="author" content="${author}" />
+    <meta name="generator" content="${sitegenerator}" />
+    <title>Posts - ${sitetitle}</title>
+    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
+    <link rel="stylesheet" href="print.css" type="text/css" media="print" />
+    <link rel="alternate" href="atom.xml" type="application/atom+xml" title="${sitetitle} Atom Feed" />
+    <link rel="alternate" href="atom_content.xml" type="application/atom+xml" title="${sitetitle} Atom Feed with content" />
+    <link rel="icon" href="/favicon.png" type="image/png" />
+  </head>
+  <body>
+    <nav id="menuwrap">
+      <table id="menu" width="100%" border="0">
+        <tr>
+          <td id="links" align="left">
+            <a href="https://puszcza.netlify.app">⬅ 19 PDH Puszcza</a> |
+            <a href="index.html">Kronika</a> |
+            <a href="https://pics.niedzwiedzinski.cyou" title="Galeria zdjęć z obozów">Zdjęcia</a> |
+          </td>
+          <td id="links-contact" align="right">
+            <span class="hidden"> | </span>
+            <a href="https://facebook.com/19pdhpuszcza">FB</a> |
+            <a href="https://github.com/19pdh">Git</a> |
+            <a href="atom_content.xml">RSS</a> |
+            <a href="mailto:${sitemail}" title="Wyślij maila">Mail</a>
+          </td>
+        </tr>
+      </table>
+    </nav>
+    <hr class="hidden" />
+    <main id="mainwrap">
+      <div id="main">
+        <h1>Wpisy z kroniki</h1>
+        <table>
diff --git a/templates/index.html/item.html b/templates/index.html/item.html
new file mode 100644
index 0000000..9f011d4
--- /dev/null
+++ b/templates/index.html/item.html
@@ -0,0 +1 @@
+<tr><td><time>${created}</time></td><td><a href="${filename}">${title}</a></td></tr>
diff --git a/templates/page/footer.html b/templates/page/footer.html
new file mode 100644
index 0000000..6600659
--- /dev/null
+++ b/templates/page/footer.html
@@ -0,0 +1,5 @@
+			</article>
+		</div>
+	</main>
+  </body>
+</html>
diff --git a/templates/page/header.html b/templates/page/header.html
new file mode 100644
index 0000000..8679cc2
--- /dev/null
+++ b/templates/page/header.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html dir="ltr" lang="${lang}">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <meta http-equiv="Content-Language" content="${lang}" />
+    <meta name="viewport" content="width=device-width" />
+    <meta name="keywords" content="${keywords}" />
+    <meta name="description" content="${description}" />
+    <meta name="author" content="${author}" />
+    <meta name="generator" content="${sitegenerator}" />
+    <title>${title} - ${sitetitle}</title>
+    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
+    <link rel="stylesheet" href="print.css" type="text/css" media="print" />
+    <link rel="alternate" href="atom.xml" type="application/atom+xml" title="${sitetitle} Atom Feed" />
+    <link rel="alternate" href="atom_content.xml" type="application/atom+xml" title="${sitetitle} Atom Feed with content" />
+    <link rel="icon" href="/favicon.png" type="image/png" />
+  </head>
+  <body>
+    <nav id="menuwrap">
+      <table id="menu" width="100%" border="0">
+        <tr>
+          <td id="links" align="left">
+            <a href="https://puszcza.netlify.app">⬅ 19 PDH Puszcza</a> |
+            <a href="index.html">Kronika</a> |
+            <a href="https://pics.niedzwiedzinski.cyou" title="Galeria zdjęć z obozów">Zdjęcia</a> |
+          </td>
+          <td id="links-contact" align="right">
+            <span class="hidden"> | </span>
+            <a href="https://facebook.com/19pdhpuszcza">FB</a> |
+            <a href="https://github.com/19pdh">Git</a> |
+            <a href="atom_content.xml">RSS</a> |
+            <a href="mailto:${sitemail}" title="Wyślij maila">Mail</a>
+          </td>
+        </tr>
+      </table>
+    </nav>
+    <hr class="hidden" />
+    <main id="mainwrap">
+      <div id="main">
+        <article>
diff --git a/templates/page/item.html b/templates/page/item.html
new file mode 100644
index 0000000..729cfad
--- /dev/null
+++ b/templates/page/item.html
@@ -0,0 +1,6 @@
+<header>
+	<h1><a href="">${title}</a></h1>
+	<p><strong>Last modification on </strong> <time datetime="${updated}">${updated}</time></p>
+</header>
+
+%{contentfile}
diff --git a/templates/rss.xml/footer.xml b/templates/rss.xml/footer.xml
new file mode 100644
index 0000000..3a9dbde
--- /dev/null
+++ b/templates/rss.xml/footer.xml
@@ -0,0 +1,2 @@
+</channel>
+</rss>
diff --git a/templates/rss.xml/header.xml b/templates/rss.xml/header.xml
new file mode 100644
index 0000000..396ef6b
--- /dev/null
+++ b/templates/rss.xml/header.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rss version="2.0"
+  xmlns:content="http://purl.org/rss/1.0/modules/content/"
+  xmlns:dc="http://purl.org/dc/elements/1.1/">
+<channel>
+	<title>${sitetitle}</title>
+	<description>${description}</description>
+	<link>${siteurl}</link>
diff --git a/templates/rss.xml/item.xml b/templates/rss.xml/item.xml
new file mode 100644
index 0000000..c003f1b
--- /dev/null
+++ b/templates/rss.xml/item.xml
@@ -0,0 +1,8 @@
+<item>
+	<title>${title}</title>
+	<link>${siteurl}/${filename}</link>
+	<guid>${siteurl}/${filename}</guid>
+	<dc:date>${created}T00:00:00Z</dc:date>
+	<author>${author}</author>
+	<description>${description}</description>
+</item>
diff --git a/templates/rss_content.xml/footer.xml b/templates/rss_content.xml/footer.xml
new file mode 100644
index 0000000..3a9dbde
--- /dev/null
+++ b/templates/rss_content.xml/footer.xml
@@ -0,0 +1,2 @@
+</channel>
+</rss>
diff --git a/templates/rss_content.xml/header.xml b/templates/rss_content.xml/header.xml
new file mode 100644
index 0000000..396ef6b
--- /dev/null
+++ b/templates/rss_content.xml/header.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rss version="2.0"
+  xmlns:content="http://purl.org/rss/1.0/modules/content/"
+  xmlns:dc="http://purl.org/dc/elements/1.1/">
+<channel>
+	<title>${sitetitle}</title>
+	<description>${description}</description>
+	<link>${siteurl}</link>
diff --git a/templates/rss_content.xml/item.xml b/templates/rss_content.xml/item.xml
new file mode 100644
index 0000000..780185a
--- /dev/null
+++ b/templates/rss_content.xml/item.xml
@@ -0,0 +1,10 @@
+<item>
+	<title>${title}</title>
+	<link>${siteurl}/${filename}</link>
+	<guid>${siteurl}/${filename}</guid>
+	<dc:date>${created}T00:00:00Z</dc:date>
+	<author>${author}</author>
+	<description><![CDATA[<h1>${title}</h1>
+        <p><strong>Last modification on </strong> <time>${updated}</time></p>
+        %{contentfile}]]></description>
+</item>
diff --git a/templates/sitemap.xml/footer.xml b/templates/sitemap.xml/footer.xml
new file mode 100644
index 0000000..d8521b5
--- /dev/null
+++ b/templates/sitemap.xml/footer.xml
@@ -0,0 +1 @@
+</urlset>
diff --git a/templates/sitemap.xml/header.xml b/templates/sitemap.xml/header.xml
new file mode 100644
index 0000000..669269c
--- /dev/null
+++ b/templates/sitemap.xml/header.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
diff --git a/templates/sitemap.xml/item.xml b/templates/sitemap.xml/item.xml
new file mode 100644
index 0000000..ceeaace
--- /dev/null
+++ b/templates/sitemap.xml/item.xml
@@ -0,0 +1,4 @@
+<url>
+	<loc>${siteurl}/${filename}</loc>
+	<lastmod>${updated}</lastmod>
+</url>
diff --git a/templates/twtxt.txt/footer.txt b/templates/twtxt.txt/footer.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/templates/twtxt.txt/footer.txt
diff --git a/templates/twtxt.txt/header.txt b/templates/twtxt.txt/header.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/templates/twtxt.txt/header.txt
diff --git a/templates/twtxt.txt/item.txt b/templates/twtxt.txt/item.txt
new file mode 100644
index 0000000..864b3a3
--- /dev/null
+++ b/templates/twtxt.txt/item.txt
@@ -0,0 +1 @@
+${created}T00:00:00Z	${title}: ${siteurl}/${filename}
diff --git a/templates/urllist.txt/item.txt b/templates/urllist.txt/item.txt
new file mode 100644
index 0000000..13923ba
--- /dev/null
+++ b/templates/urllist.txt/item.txt
@@ -0,0 +1 @@
+${siteurl}/${filename}