summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/404.html37
-rw-r--r--templates/atom.xml48
-rw-r--r--templates/feed-styles.xsl82
-rw-r--r--templates/feed.xml24
-rw-r--r--templates/homepage.html65
-rw-r--r--templates/list.html55
-rw-r--r--templates/post.html75
-rw-r--r--templates/style.css191
-rw-r--r--templates/tags.html41
9 files changed, 0 insertions, 618 deletions
diff --git a/templates/404.html b/templates/404.html
deleted file mode 100644
index 4e64fcc..0000000
--- a/templates/404.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!doctype html>
-<html>
-  <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Site Title</title>
-    <meta name="referrer" content="no-referrer-when-downgrade" />
-    <link
-      rel="alternate"
-      type="application/atom+xml"
-      title=""
-      href="/atom.xml"
-    />
-    <style></style>
-  </head>
-  <body>
-    <a class="skip" href="#main">Skip to main content</a>
-    <header>
-      <h2>
-        <a href="/" class="title">Site title</a>
-      </h2>
-      <nav>
-        <a href="/">Home</a>
-      </nav>
-    </header>
-    <main id="main">
-      <h1>404</h1>
-      <h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2>
-    </main>
-    <footer>
-      Licensed under a
-      <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
-        >Creative Commons Attribution 4.0 International License</a
-      >.
-    </footer>
-  </body>
-</html>
diff --git a/templates/atom.xml b/templates/atom.xml
deleted file mode 100644
index 81c9a76..0000000
--- a/templates/atom.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="/feed-styles.xsl" type="text/xsl"?>
-<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ lang }}">
-    <title>{{ config.title }}
-    {%- if term %} - {{ term.name }}
-    {%- elif section.title %} - {{ section.title }}
-    {%- endif -%}
-    </title>
-    {%- if config.description %}
-    <subtitle>{{ config.description }}</subtitle>
-    {%- endif %}
-    <link href="{{ feed_url | safe }}" rel="self" type="application/atom+xml"/>
-    <link href="
-      {%- if section -%}
-        {{ section.permalink | escape_xml | safe }}
-      {%- else -%}
-        {{ config.base_url | escape_xml | safe }}
-      {%- endif -%}
-    "/>
-    <generator uri="https://www.getzola.org/">Zola</generator>
-    <updated>{{ last_updated | date(format="%+") }}</updated>
-    <id>{{ feed_url | safe }}</id>
-    {%- for page in pages %}
-    <entry xml:lang="{{ page.lang }}">
-        <title>{{ page.title }}</title>
-        <published>{{ page.date | date(format="%+") }}</published>
-        <updated>{{ page.updated | default(value=page.date) | date(format="%+") }}</updated>
-        <author>
-          <name>
-            {%- if page.authors -%}
-              {{ page.authors[0] }}
-            {%- elif config.author -%}
-              {{ config.author }}
-            {%- else -%}
-              Unknown
-            {%- endif -%}
-          </name>
-        </author>
-        <link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
-        <id>{{ page.permalink | safe }}</id>
-        {% if page.summary %}
-        <summary type="html">{{ page.summary }}</summary>
-        {% else %}
-        <content type="html">{{ page.content }}</content>
-        {% endif %}
-    </entry>
-    {%- endfor %}
-</feed>
diff --git a/templates/feed-styles.xsl b/templates/feed-styles.xsl
deleted file mode 100644
index 5953f89..0000000
--- a/templates/feed-styles.xsl
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet
-  version="3.0"
-  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-  xmlns:atom="http://www.w3.org/2005/Atom"
->
-  <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes" />
-  <xsl:template match="/">
-    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
-      <head>
-        <title>RSS Feed | <xsl:value-of select="/atom:feed/atom:title"/></title>
-        <meta charset="utf-8" />
-        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
-        <meta name="viewport" content="width=device-width, initial-scale=1" />
-        <style></style>
-      </head>
-      <body>
-        <main>
-          <div class="helptext">
-            <strong>This is an RSS feed</strong>. Subscribe by copying the URL
-            from the address bar into your newsreader. Visit
-            <a href="https://aboutfeeds.com">About Feeds</a>
-            to learn more and get started. It's free.
-          </div>
-          <div>
-            <h1>
-              <!-- https://commons.wikimedia.org/wiki/File:Feed-icon.svg -->
-              <svg
-                xmlns="http://www.w3.org/2000/svg"
-                version="1.1"
-                style="width: 1.5ex; height: 1.5ex"
-                viewBox="0 0 256 256"
-              >
-                <rect width="256" height="256" x="0" y="0" fill="#7F7F7F" />
-                <rect width="246" height="246" x="5" y="5" fill="#A0A0A0" />
-                <rect width="236" height="236" x="10" y="10" fill="#A6A6A6" />
-                <circle cx="68" cy="189" r="24" fill="#FFF" />
-                <path
-                  d="M160 213h-34a82 82 0 0 0 -82 -82v-34a116 116 0 0 1 116 116z"
-                  fill="#FFF"
-                />
-                <path
-                  d="M184 213A140 140 0 0 0 44 73 V 38a175 175 0 0 1 175 175z"
-                  fill="#FFF"
-                />
-              </svg>
-              RSS Feed Preview |
-              <span>
-                <xsl:value-of select="/atom:feed/atom:title" />
-              </span>
-            </h1>
-            <nav>
-              <a>
-                <xsl:attribute name="href">
-                  <xsl:value-of select="/atom:feed/atom:link[1]/@href" />
-                </xsl:attribute>
-                Visit Website
-              </a>
-            </nav>
-            <ul class="h-feed">
-              <xsl:for-each select="/atom:feed/atom:entry">
-                <li class="h-entry">
-                  <span>
-                    <time class="dt-published">
-                      <xsl:value-of select="substring(atom:updated, 0, 11)" />
-                    </time>
-                  </span>
-                  <a class="p-name u-url">
-                    <xsl:attribute name="href">
-                      <xsl:value-of select="atom:link/@href" />
-                    </xsl:attribute>
-                    <xsl:value-of select="atom:title" />
-                  </a>
-                </li>
-              </xsl:for-each>
-            </ul>
-          </div>
-        </main>
-      </body>
-    </html>
-  </xsl:template>
-</xsl:stylesheet>
diff --git a/templates/feed.xml b/templates/feed.xml
deleted file mode 100644
index ddc90dd..0000000
--- a/templates/feed.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<?xml-stylesheet href="/feed-styles.xsl" type="text/xsl"?>
-<feed xmlns="http://www.w3.org/2005/Atom">
-  <title>Example Feed</title>
-  <link href="http://example.org/"></link>
-  <id>urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6</id>
-  <updated>2003-12-13T18:30:02Z</updated>
-  <entry>
-    <title>Atom-Powered Robots Run Amok</title>
-    <link rel="alternate" type="text/html" href="http://example.org/2003/12/13/atom03.html"></link>
-    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
-    <updated>2003-12-13T18:30:02Z</updated>
-    <summary>Some text.</summary>
-    <content type="html">
-      <div>
-        <p>This is the entry content.</p>
-      </div>
-    </content>
-    <author>
-      <name>John Doe</name> 
-    </author>
-  </entry>
-
-</feed>
diff --git a/templates/homepage.html b/templates/homepage.html
deleted file mode 100644
index 5004340..0000000
--- a/templates/homepage.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<!doctype html>
-<html>
-  <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Site Title</title>
-    <meta name="referrer" content="no-referrer-when-downgrade" />
-    <link
-      rel="alternate"
-      type="application/atom+xml"
-      title=""
-      href="/atom.xml"
-    />
-    <style></style>
-  </head>
-  <body>
-    <a class="skip" href="#main">Skip to main content</a>
-    <header>
-      <h2>
-        <a href="/" class="title">Site title</a>
-      </h2>
-      <nav>
-        <a href="/">Home</a>
-      </nav>
-    </header>
-    <main id="main">
-      <div id="content"></div>
-      <section>
-        <h2>Latest Posts</h2>
-        <ul class="h-feed">
-          <li class="h-entry">
-            <span>
-              <time
-                class="dt-published"
-                datetime="2000-12-31T12:33:02+02:00"
-                pubdate
-              >
-                2000-12-31
-              </time>
-            </span>
-            <a class="p-name u-url" href="/post/lorem-ipsum/">Lorem Ipsum</a>
-          </li>
-        </ul>
-      </section>
-      <section>
-        <h2>Elsewhere on the Internet</h2>
-        <ul class="elsewhere">
-          <li>
-            <a class="u-email" rel="me" href="mailto:user@example.com"
-            >user@example.com</a></li>
-          <li>
-            <a class="u-url" rel="me" href="http://example.com">Example</a>
-          </li>
-          </li>
-        </ul>
-      </section>
-    </main>
-    <footer>
-      Licensed under a
-      <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
-        >Creative Commons Attribution 4.0 International License</a
-      >.
-    </footer>
-  </body>
-</html>
diff --git a/templates/list.html b/templates/list.html
deleted file mode 100644
index 77415ba..0000000
--- a/templates/list.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<!doctype html>
-<html lang="en-GB">
-  <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Site Title</title>
-    <meta name="referrer" content="no-referrer-when-downgrade" />
-    <link
-      rel="alternate"
-      type="application/atom+xml"
-      title="Site Title"
-      href="/atom.xml"
-    />
-    <style></style>
-  </head>
-  <body>
-    <a class="skip" href="#content">Skip to main content</a>
-    <header>
-      <h2>
-        <a href="/" class="title">Site Title</a>
-      </h2>
-      <nav>
-        <a href="/">Home</a>
-      </nav>
-    </header>
-    <main id="content">
-      <div class="filter">
-        <h3 class="filter">Tag</h3>
-        <small>
-          <a href="../">Remove filter</a>
-        </small>
-      </div>
-      <ul class="h-feed">
-        <li class="h-entry">
-          <span>
-            <time
-              class="dt-published"
-              datetime="2000-12-31T12:33:02+02:00"
-              pubdate
-            >
-              2000-12-31
-            </time>
-          </span>
-          <a class="p-name u-url" href="/post/lorem-ipsum/">Lorem Ipsum</a>
-        </li>
-      </ul>
-    </main>
-    <footer>
-      Licensed under a
-      <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
-        >Creative Commons Attribution 4.0 International License</a
-      >.
-    </footer>
-  </body>
-</html>
diff --git a/templates/post.html b/templates/post.html
deleted file mode 100644
index 1262ee0..0000000
--- a/templates/post.html
+++ /dev/null
@@ -1,75 +0,0 @@
-<!doctype html>
-<html lang="en-GB">
-  <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title></title>
-    <meta name="referrer" content="no-referrer-when-downgrade" />
-    <link
-      rel="alternate"
-      type="application/atom+xml"
-      title=""
-      href="/atom.xml"
-    />
-    <style></style>
-  </head>
-  <body>
-    <a class="skip" href="#main">Skip to main content</a>
-    <header>
-      <h2>
-        <a href="/" class="title"></a>
-      </h2>
-      <nav>
-        <a href="/">Home</a>
-      </nav>
-    </header>
-    <main id="main">
-      <article class="h-entry">
-        <h1 class="p-name">Post Title</h1>
-        <p>
-          <time class="dt-published" pubdate>2000-12-31</time>
-        </p>
-        <div class="e-content">
-          Enim lobortis scelerisque fermentum dui faucibus in ornare quam
-          viverra. Eget egestas purus viverra accumsan in nisl nisi, scelerisque
-          eu ultrices vitae, auctor eu augue ut lectus arcu, bibendum at.
-
-          <code>/bin/test</code>
-
-          <pre>
-            <code class="language-conf">
-foo=bar
-            </code>
-          </pre>
-
-          <table>
-            <thead>
-              <tr>
-                <th>One</th>
-                <th>Two</th>
-                <th>Three</th>
-              </tr>
-            </thead>
-            <tbody>
-              <tr>
-                <td>1</td>
-                <td>2</td>
-                <td>3</td>
-              </tr>
-            </tbody>
-          </table>
-        </div>
-        <ul class="p-categories tags">
-          Tags:
-          <li><a class="p-category" href="/tags/sample/">#sample</a></li>
-        </ul>
-      </article>
-    </main>
-    <footer>
-      Licensed under a
-      <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
-        >Creative Commons Attribution 4.0 International License</a
-      >.
-    </footer>
-  </body>
-</html>
diff --git a/templates/style.css b/templates/style.css
deleted file mode 100644
index 5c55ef4..0000000
--- a/templates/style.css
+++ /dev/null
@@ -1,191 +0,0 @@
-body {
-  font-family: Verdana, sans-serif;
-  margin: auto;
-  padding: 1em;
-  max-width: 50rem;
-  text-align: left;
-  background-color: #fff;
-  word-wrap: break-word;
-  overflow-wrap: break-word;
-  line-height: 1.5;
-  color: #444;
-}
-
-.skip {
-  position: absolute;
-  top: -3em;
-  background: #fff;
-}
-.skip:focus {
-  top: 0;
-}
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6,
-strong,
-b {
-  color: #222;
-}
-
-a {
-  color: #3273dc;
-}
-
-.title {
-  color: #222;
-  text-decoration: none;
-  border: 0;
-}
-
-.filter {
-  margin-bottom: 0;
-}
-
-time {
-  font-style: italic;
-}
-
-nav a {
-  margin-right: 1ex;
-}
-
-.tags {
-  padding: unset;
-  font-size: small;
-}
-
-.tags > li {
-  list-style: none;
-  display: inline-block;
-  padding-right: 1ex;
-}
-
-textarea {
-  width: 100%;
-  font-size: 1rem;
-}
-
-input {
-  font-size: 1rem;
-}
-
-main,
-article {
-  line-height: 1.6;
-}
-
-table {
-  width: 100%;
-}
-
-img {
-  max-width: 100%;
-}
-
-code {
-  padding: 2px 5px;
-  background-color: #f2f2f2;
-}
-
-pre code {
-  color: #222;
-  display: block;
-  padding: 20px;
-  white-space: pre-wrap;
-  font-size: 0.875rem;
-  overflow-x: auto;
-}
-
-div.highlight pre {
-  background-color: initial;
-  color: initial;
-}
-
-div.highlight code {
-  background-color: unset;
-  color: unset;
-}
-
-blockquote {
-  border-left: 1px solid #999;
-  color: #222;
-  padding-left: 20px;
-  font-style: italic;
-}
-
-footer {
-  padding: 25px;
-  text-align: center;
-}
-
-.helptext {
-  color: #777;
-  font-size: small;
-}
-
-/* blog posts */
-ul.h-feed {
-  list-style-type: none;
-  padding: unset;
-}
-
-ul.h-feed li {
-  display: flex;
-}
-
-ul.h-feed li span {
-  flex: 0 0 130px;
-}
-
-ul.h-feed li a:visited {
-  color: #8b6fcb;
-}
-
-@media (prefers-color-scheme: dark) {
-  body {
-    background-color: #333;
-    color: #ddd;
-  }
-
-  h1,
-  h2,
-  h3,
-  h4,
-  h5,
-  h6,
-  strong,
-  b,
-  .title {
-    color: #eee;
-  }
-
-  a {
-    color: #8cc2dd;
-  }
-
-  code {
-    background-color: #777;
-  }
-
-  pre code {
-    color: #ddd;
-  }
-
-  blockquote {
-    color: #ccc;
-  }
-
-  textarea,
-  input {
-    background-color: #252525;
-    color: #ddd;
-  }
-
-  .helptext {
-    color: #aaa;
-  }
-}
diff --git a/templates/tags.html b/templates/tags.html
deleted file mode 100644
index 406f8d7..0000000
--- a/templates/tags.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<!doctype html>
-<html lang="en-GB">
-  <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Site Title</title>
-    <meta name="referrer" content="no-referrer-when-downgrade" />
-    <link
-      rel="alternate"
-      type="application/atom+xml"
-      title="Site title"
-      href="/atom.xml"
-    />
-    <style></style>
-  </head>
-  <body>
-    <a class="skip" href="#content">Skip to main content</a>
-    <header>
-      <h2>
-        <a href="/" class="title">Site title</a>
-      </h2>
-      <nav>
-        <a href="/">Home</a>
-      </nav>
-    </header>
-    <main id="content">
-      <h3 class="filter">Tags</h3>
-      <ul class="tags">
-        <li class="h-feed">
-          <a href="/tags/tag">#tag</a>
-        </li>
-      </ul>
-    </main>
-    <footer>
-      Licensed under a
-      <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
-        >Creative Commons Attribution 4.0 International License</a
-      >.
-    </footer>
-  </body>
-</html>