about summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/404.html4
-rw-r--r--templates/base.html2
-rw-r--r--templates/favicon.html2
-rw-r--r--templates/footer.html2
-rw-r--r--templates/index.html6
-rw-r--r--templates/nav.html14
-rw-r--r--templates/page.html48
-rw-r--r--templates/section.html66
-rw-r--r--templates/taxonomy_list.html20
-rw-r--r--templates/taxonomy_single.html52
10 files changed, 108 insertions, 108 deletions
diff --git a/templates/404.html b/templates/404.html
index bfb6e35..15fd75c 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -3,6 +3,6 @@
 {% block title %}404{% endblock %}
 
 {% block main %}
-<h1>404</h1>
-<h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2>
+  <h1>404</h1>
+  <h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2>
 {% endblock %}
diff --git a/templates/base.html b/templates/base.html
index 80d1e73..00fcd43 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -11,7 +11,7 @@
   {%- if config.generate_feed %}
   {% block rss -%}
   <link rel="alternate" type={% if config.feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="{{ config.title }}" href="{{ get_url(path=config.feed_filename) | safe }}">
-  {% endblock -%}
+  {%- endblock -%}
   {%- endif %}
   {% include "style.html" ignore missing -%}
   {% include "custom_head.html" ignore missing -%}
diff --git a/templates/favicon.html b/templates/favicon.html
index 51d9fbd..cfa2959 100644
--- a/templates/favicon.html
+++ b/templates/favicon.html
@@ -1,3 +1,3 @@
 {% if config.extra.favicon %}
   <link rel="shortcut icon" href="{{ config.extra.favicon }}" />
-{%- endif %}
+{%- endif -%}
diff --git a/templates/footer.html b/templates/footer.html
index 97d6b89..d0db8c7 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -1,3 +1,3 @@
 {% if not config.extra.hide_made_with_line %}
-Made with <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
+  Made with <a href="https://codeberg.org/alanpearce/zola-bearblog">Zola ʕ•ᴥ•ʔ Bear</a>
 {% endif %}
diff --git a/templates/index.html b/templates/index.html
index 31710be..519bf5f 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
 {% block main %}
-<content>
-  {{ section.content | safe }}
-</content>
+  <content>
+    {{ section.content | safe }}
+  </content>
 {% endblock %}
diff --git a/templates/nav.html b/templates/nav.html
index b0cf643..4dd0e63 100644
--- a/templates/nav.html
+++ b/templates/nav.html
@@ -1,10 +1,10 @@
 <a href="{{ config.base_url }}">Home</a>
 {%- if config.extra.main_menu %}
-{%- for item in config.extra.main_menu %}
-{%- if item.url is matching("https?://") %}
-<a href="{{ item.url }}">{{ item.name }}</a>
-{%- else %}
-<a href="{{ get_url(path=item.url )}}">{{ item.name }}</a>
-{%- endif %}
-{%- endfor %}
+  {%- for item in config.extra.main_menu %}
+    {%- if item.url is matching("https?://") %}
+      <a href="{{ item.url }}">{{ item.name }}</a>
+    {%- else %}
+      <a href="{{ get_url(path=item.url )}}">{{ item.name }}</a>
+    {%- endif %}
+  {%- endfor %}
 {%- endif %}
diff --git a/templates/page.html b/templates/page.html
index 6651d15..12f0603 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -5,29 +5,29 @@
 {% endblock %}
 
 {% block main %}
-{%- if not page.extra.menu %}
-<h1>{{ page.title }}</h1>
-{%- if page.date %}
-<p>
-  <i>
-    <time datetime='{{ page.date | date(format='%+') }}' pubdate>
-      {{ page.date | date(format=config.extra.date_format) }}
-    </time>
-  </i>
-</p>
-{%- endif %}
-{%- endif %}
-<content>
-  {{ page.content | safe }}
-</content>
-<p>
-  {%- if page.taxonomies %}
-  {%- for name, taxon in page.taxonomies %}
-  {{ name | capitalize }}:
-  {%- for item in taxon %}
-  <a href="{{ get_taxonomy_url(kind=name, name=item) }}">#{{ item }}</a>
-  {%- endfor %}
-  {%- endfor %}
+  {%- if not page.extra.menu %}
+    <h1>{{ page.title }}</h1>
+    {%- if page.date %}
+      <p>
+        <i>
+          <time datetime='{{ page.date | date(format='%+') }}' pubdate>
+            {{ page.date | date(format=config.extra.date_format) }}
+          </time>
+        </i>
+      </p>
+    {%- endif %}
   {%- endif %}
-</p>
+  <content>
+    {{ page.content | safe }}
+  </content>
+  <p>
+    {%- if page.taxonomies %}
+      {%- for name, taxon in page.taxonomies %}
+        {{ name | capitalize }}:
+        {%- for item in taxon %}
+          <a href="{{ get_taxonomy_url(kind=name, name=item) }}">#{{ item }}</a>
+        {%- endfor %}
+      {%- endfor %}
+    {%- endif %}
+  </p>
 {% endblock %}
diff --git a/templates/section.html b/templates/section.html
index c0808f8..ed9fd77 100644
--- a/templates/section.html
+++ b/templates/section.html
@@ -1,38 +1,38 @@
 {% extends "base.html" %}
 
 {% block main %}
-<content>
-  {%- if taxonomy.term %}
-  <h3 style="margin-bottom:0">Filtering for "{{ section.title }}"</h3>
-  <small>
-    <a href="{{ get_url(path="@/blog/_index.md") }}">Remove filter</a>
-  </small>
-  {%- endif %}
-  <ul class="blog-posts">
-    {% for page in section.pages %}
-    <li>
-      <span>
-        <i>
-          <time datetime='{{ page.date | date(format='%+') }}' pubdate>
-            {{ page.date | date(format=config.extra.date_format) }}
-          </time>
-        </i>
-      </span>
-      <a href="{{ page.permalink }}">{{ page.title }}</a>
-    </li>
-    {% else %}
-    <li>
-      No posts yet
-    </li>
-    {% endfor %}
-  </ul>
-  <small>
-    <div>
-      {% set tags = get_taxonomy(kind="tags") %}
-      {% for post in tags.items %}
-      <a href="{{ post.permalink }}">#{{ post.name }}</a>&nbsp;
+  <content>
+    {%- if taxonomy.term %}
+      <h3 style="margin-bottom:0">Filtering for "{{ section.title }}"</h3>
+      <small>
+        <a href="{{ get_url(path="@/blog/_index.md") }}">Remove filter</a>
+      </small>
+    {%- endif %}
+    <ul class="blog-posts">
+      {% for page in section.pages %}
+        <li>
+          <span>
+            <i>
+              <time datetime='{{ page.date | date(format='%+') }}' pubdate>
+                {{ page.date | date(format=config.extra.date_format) }}
+              </time>
+            </i>
+          </span>
+          <a href="{{ page.permalink }}">{{ page.title }}</a>
+        </li>
+        {% else %}
+        <li>
+          No posts yet
+        </li>
       {% endfor %}
-    </div>
-  </small>
-</content>
+    </ul>
+    <small>
+      <div>
+        {% set tags = get_taxonomy(kind="tags") %}
+        {% for post in tags.items %}
+          <a href="{{ post.permalink }}">#{{ post.name }}</a>&nbsp;
+        {% endfor %}
+      </div>
+    </small>
+  </content>
 {% endblock %}
diff --git a/templates/taxonomy_list.html b/templates/taxonomy_list.html
index 876087c..ef28c58 100644
--- a/templates/taxonomy_list.html
+++ b/templates/taxonomy_list.html
@@ -1,14 +1,14 @@
 {% extends "base.html" %}
 
 {% block main %}
-<content>
-  <small>
-    <div>
-      {% set tags = get_taxonomy(kind="tags") %}
-      {% for post in tags.items %}
-      <a href="{{ post.permalink }}">#{{ post.name }}</a>&nbsp;
-      {% endfor %}
-    </div>
-  </small>
-</content>
+  <content>
+    <small>
+      <div>
+        {% set tags = get_taxonomy(kind="tags") %}
+        {% for post in tags.items %}
+          <a href="{{ post.permalink }}">#{{ post.name }}</a>&nbsp;
+        {% endfor %}
+      </div>
+    </small>
+  </content>
 {% endblock %}
diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html
index fb65874..460679d 100644
--- a/templates/taxonomy_single.html
+++ b/templates/taxonomy_single.html
@@ -1,30 +1,30 @@
 {% extends "base.html" %}
 
 {% block main %}
-<content>
-  {%- if taxonomy.term %}
-  <h3 style="margin-bottom:0">Filtering for "{{ term.name }}"</h3>
-  <small>
-    <a href="{{ get_url(path="@/blog/_index.md") }}">Remove filter</a>
-  </small>
-  {%- endif %}
-  <ul class="blog-posts">
-    {% for page in term.pages %}
-    <li>
-      <span>
-        <i>
-          <time datetime='{{ page.date | date(format='%+') }}' pubdate>
-            {{ page.date | date(format=config.extra.date_format) }}
-          </time>
-        </i>
-      </span>
-      <a href="{{ page.permalink }}">{{ page.title }}</a>
-    </li>
-    {% else %}
-    <li>
-      No posts yet
-    </li>
-    {% endfor %}
-  </ul>
-</content>
+  <content>
+    {%- if taxonomy.term %}
+      <h3 style="margin-bottom:0">Filtering for "{{ term.name }}"</h3>
+      <small>
+        <a href="{{ get_url(path="@/blog/_index.md") }}">Remove filter</a>
+      </small>
+    {%- endif %}
+    <ul class="blog-posts">
+      {% for page in term.pages %}
+        <li>
+          <span>
+            <i>
+              <time datetime='{{ page.date | date(format='%+') }}' pubdate>
+                {{ page.date | date(format=config.extra.date_format) }}
+              </time>
+            </i>
+          </span>
+          <a href="{{ page.permalink }}">{{ page.title }}</a>
+        </li>
+      {% else %}
+        <li>
+          No posts yet
+        </li>
+      {% endfor %}
+    </ul>
+  </content>
 {% endblock %}