summaryrefslogtreecommitdiff
path: root/src/writings.thrust
diff options
context:
space:
mode:
Diffstat (limited to 'src/writings.thrust')
-rw-r--r--src/writings.thrust31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/writings.thrust b/src/writings.thrust
new file mode 100644
index 0000000..0220274
--- /dev/null
+++ b/src/writings.thrust
@@ -0,0 +1,31 @@
+---
+title: writings
+subtitle: stories & fiction
+pages:
+ - writings/piracy
+ - writings/aissist
+ - writings/helena
+ - writings/chair
+ - writings/bruges
+ - writings/chesham
+---
+{% extends 'templates/base.html' %}
+{% block body %}
+ <nav>
+ <a href='/'>&gt; index</a>
+ </nav>
+
+ <header>
+ <h1>{{ title }}</h1>
+ <p>{{ subtitle }}</p>
+ </header>
+
+ <nav>
+ <ul>
+ {% for path in pages %}
+ {% set thrust = ( 'src/' + path + '.thrust' ) | loadthrust %}
+ <li><a href='/{{ path }}''>{{ thrust.data.title }} ({{ ( ( ( thrust.data.body | wordcount ) / 10.0 ) | round | int ) * 10 }} words)</li>
+ {% endfor %}
+ </ul>
+ </nav>
+{% endblock %}