diff --git a/.gitignore b/.gitignore
index 76ce7fc..da61ed1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
*.jpg
+public/
diff --git a/config.toml b/config.toml
index 50e8f5b..0370fdf 100644
--- a/config.toml
+++ b/config.toml
@@ -12,9 +12,11 @@ build_search_index = true
generate_feed = true
taxonomies = [
- {name = "tags"},
+ {name = "tags", feed = true},
]
+theme = "apollo"
+
[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
@@ -31,11 +33,11 @@ socials = [
toc = true
use_cdn = false
favicon = "/icon/favicon.png"
-theme = "auto"
menu = [
{ name = "R&D", url = "/rnd", weight = 1 },
{ name = "sundries", url = "/sundries", weight = 2 },
{ name = "about", url = "/about", weight = 3 },
{ name = "home", url = "/", weight = 4 },
+ { name = "tags", url = "/tags", weight = 5 }
]
diff --git a/content/_index.md b/content/_index.md
index b211151..30f06c2 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -1,7 +1,10 @@
+++
-toc = true
title = "From the Desk of the Head of R&D and Chief Sundries Officer"
sort_by = "date"
generate_feed = true
+toc = true
+[extra]
+toc = true
+++
+
diff --git a/content/rnd/_index.md b/content/rnd/_index.md
index 0cc9b7b..8c2c7f4 100644
--- a/content/rnd/_index.md
+++ b/content/rnd/_index.md
@@ -1,4 +1,7 @@
+++
+title = "Speculative Work, by NebCorp HIAS"
+sort_by = "date"
+toc = true
[extra]
-#section_path = "posts/_index.md"
+toc = true
+++
diff --git a/content/sundries/_index.md b/content/sundries/_index.md
index 389252c..afcf88a 100644
--- a/content/sundries/_index.md
+++ b/content/sundries/_index.md
@@ -2,4 +2,7 @@
title = "Sundries, by NebCorp HIAS"
sort_by = "date"
path = "sundries"
+toc = true
+[extra]
+toc = true
+++
diff --git a/content/sundries/a-very-digital-artifact/index.md b/content/sundries/a-very-digital-artifact/index.md
index 8961442..b16ed8b 100644
--- a/content/sundries/a-very-digital-artifact/index.md
+++ b/content/sundries/a-very-digital-artifact/index.md
@@ -2,8 +2,8 @@
title = "A Very Digital Artifact"
slug = "a-very-digital-artifact"
date = "2022-11-11"
-#[taxonomies]
-#tags = ["3dprinting", "CAD", "GIS", "CNC", "art", "sundries"]
+[taxonomies]
+tags = ["3dprinting", "CAD", "GIS", "CNC", "art", "sundries"]
+++
![a CNC-carved exaggerated relief of California made of plywood](PXL_20220723_214758454.jpg)
diff --git a/templates/404.html b/templates/404.html
deleted file mode 100644
index a0e1ee0..0000000
--- a/templates/404.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "page.html" %}
-
-{% block main_content %}
-
-{% endblock main_content %}
\ No newline at end of file
diff --git a/templates/cards.html b/templates/cards.html
deleted file mode 100644
index 2c67f32..0000000
--- a/templates/cards.html
+++ /dev/null
@@ -1,35 +0,0 @@
-{% extends "base.html" %}
-
-{% block main_content %}
- {% if section.extra.section_path -%}
- {% set section = get_section(path=section.extra.section_path) %}
- {% endif -%}
-
- {{ post_macros::page_header(title=section.title) }}
-
-
- {%- if paginator %}
- {%- set show_pages = paginator.pages -%}
- {% else %}
- {%- set show_pages = section.pages -%}
- {% endif -%}
-
- {{ post_macros::cards_posts(pages=show_pages) }}
-
-
- {% if paginator %}
-
- {% endif %}
-{% endblock main_content %}
\ No newline at end of file
diff --git a/templates/macros/macros.html b/templates/macros/macros.html
deleted file mode 100644
index 86a3925..0000000
--- a/templates/macros/macros.html
+++ /dev/null
@@ -1,180 +0,0 @@
-{% macro list_posts(pages) %}
-
- {%- for page in pages %}
-
-
-
-
- {%- if page.date %}
-
- {% endif -%}
- {% if page.draft %}
- DRAFT
- {% endif %}
-
-
-
-
- {% if page.description %}
- {{ page.description }}
- {% elif page.summary %}
- {{ page.summary | safe }}…
- {% else %}
- {% set hide_read_more = true %}
- {% endif %}
-
-
- {% if not hide_read_more %}
- Read more ⟶
- {% endif %}
-
-
- {% endfor -%}
-
-{% endmacro list_posts %}
-
-{% macro tags(page, short=false) %}
- {%- if page.taxonomies and page.taxonomies.tags %}
-
- {%- if short %}
- ::
- {%- set sep = "," -%}
- {% else %}
- :: tags:
- {%- set sep = " " -%}
- {% endif -%}
- {%- for tag in page.taxonomies.tags %}
- #{{ tag }}
- {%- if not loop.last %}{{ sep | safe }}{% endif -%}
- {% endfor -%}
-
- {% endif -%}
-{% endmacro tags %}
-
-{% macro page_header(title) %}
-
-{% endmacro content %}
-
-{% macro content(page) %}
-
-
-
- {#
{{ page.title }}
#}
- {{ post_macros::page_header(title=page.title) }}
-
-
- {% if page.date %}
- Posted on
- {% endif %}
-
- {% if page.draft %}
- DRAFT
- {% endif %}
-
-
-
- {% if page.extra.tldr %}
-
- tl;dr:
- {{ page.extra.tldr }}
-
- {% endif %}
-
- {# Optional table of contents #}
- {% if config.extra.toc | default(value=false) %}
- {% if page.toc %}
- Table of Contents
-
- {% for h1 in page.toc %}
- -
- {{ h1.title }}
- {% if h1.children %}
-
- {% for h2 in h1.children %}
- -
- {{ h2.title }}
-
-
- {% if h2.children %}
-
- {% endif %}
- {% endfor %}
-
- {% endif %}
-
- {% endfor %}
-
- {% endif %}
- {% endif %}
-
-
- {{ page.content | safe }}
-
-
- {% if page.taxonomies and page.taxonomies.tags %}
-
- {% endif %}
-
-
-
-{% endmacro content %}
-
-{% macro cards_posts(pages) %}
-
- {%- for page in pages %}
-
- {% if page.extra.local_image %}
-
- {% elif page.extra.remote_image %}
-
- {% else %}
-
- {% endif %}
-
-
-
- {% if page.extra.link_to %}
- {{page.title}}
- {% else %}
- {{page.title}}
- {% endif %}
-
-
-
- {%- if page.date %}
-
- {% endif -%}
- {% if page.draft %}
- DRAFT
- {% endif %}
-
-
-
- {% if page.description %}
- {{ page.description }}
- {% endif %}
-
-
-
-
- {% endfor -%}
-
-{% endmacro cards_posts %}
\ No newline at end of file
diff --git a/templates/page.html b/templates/page.html
deleted file mode 100644
index 9bf0abb..0000000
--- a/templates/page.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% extends "base.html" %}
-
-{% block main_content %}
- {{ post_macros::content(page=page)}}
-{% endblock main_content %}
\ No newline at end of file
diff --git a/templates/partials/header.html b/templates/partials/header.html
deleted file mode 100644
index cb52ed1..0000000
--- a/templates/partials/header.html
+++ /dev/null
@@ -1,67 +0,0 @@
-{% import "macros/macros.html" as post_macros %}
-
-
-
-
-
-
- {# Site title #}
- {% set current_path = current_path | default(value="/") %}
- {% if current_path == "/" %}
-
- {{ config.title | default(value="Home") }}
-
- {% else %}
-
- {{ page.title | default(value=config.title) | default(value="Post") }}
-
- {% endif %}
-
- {# Favicon #}
- {% if config.extra.favicon %}
-
- {% endif %}
-
- {# Font from cdn or disk #}
- {% if config.extra.use_cdn | default(value=false) %}
-
-
- {% else %}
-
- {% endif %}
-
- {# Analytics #}
- {% if config.extra.analytics.enabled and config.extra.analytics.goatcounter_user %}
- {% set user = config.extra.analytics.goatcounter_user %}
- {% set host = config.extra.analytics.goatcounter_host | default(value="goatcounter.com") %}
-
-
-
- {% endif %}
-
- {# RSS #}
-
-
- {# Theme #}
- {% set theme = config.extra.theme | default(value="light") %}
- {% if theme == "dark" %}
-
- {% elif theme == "light" %}
-
- {% elif theme == "auto" %}
-
-
- {% endif %}
-
-
-
-
- {% if config.extra.stylesheets %}
- {% for stylesheet in config.extra.stylesheets %}
-
- {% endfor %}
- {% endif %}
-
\ No newline at end of file
diff --git a/templates/section.html b/templates/section.html
deleted file mode 100644
index e169115..0000000
--- a/templates/section.html
+++ /dev/null
@@ -1,35 +0,0 @@
-{% extends "base.html" %}
-
-{% block main_content %}
- {% if section.extra.section_path -%}
- {% set section = get_section(path=section.extra.section_path) %}
- {% endif -%}
-
- {{ post_macros::page_header(title=section.title) }}
-
-
- {%- if paginator %}
- {%- set show_pages = paginator.pages -%}
- {% else %}
- {%- set show_pages = section.pages -%}
- {% endif -%}
-
- {{ post_macros::list_posts(pages=show_pages) }}
-
-
- {% if paginator %}
-
- {% endif %}
-{% endblock main_content %}
\ No newline at end of file
diff --git a/templates/tags/list.html b/templates/tags/list.html
new file mode 100644
index 0000000..a289a89
--- /dev/null
+++ b/templates/tags/list.html
@@ -0,0 +1,15 @@
+{% extends "index.html" %}
+
+{% block main_content %}
+
+{%- set title = "Tags" %}
+
+
+ {% for tag in terms %}
+
+ {% endfor %}
+
+{% endblock main_content %}
+
diff --git a/templates/taxonomy_list.html b/templates/taxonomy_list.html
deleted file mode 100644
index e69de29..0000000
diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html
new file mode 100644
index 0000000..bf224a0
--- /dev/null
+++ b/templates/taxonomy_single.html
@@ -0,0 +1,8 @@
+{% extends "index.html" %}
+
+{% block main_content %}
+
+{{ post_macros::list_posts(pages = term.pages) }}
+
+{% endblock main_content %}
+