summaryrefslogtreecommitdiff
path: root/src/writings.thrust
blob: 022027423d3dce142fe9caa52c126b251f5b1ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 %}