all repos — homestead @ b5b64f817f5e62323aff60681a343976a5c54a62

Code for my website

Port theme to zola template

Alan Pearce
commit

b5b64f817f5e62323aff60681a343976a5c54a62

parent

9e83e3da5af480f5ce1492f820ad035c7a5ea9b4

1 file changed, 18 insertions(+), 0 deletions(-)

changed files
A templates/section.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %} + +{% block main %} +<main> + <h1>{{ section.title }}</h1> + {{ section.content }} + <section> + <ul> + {% for page in section.pages %} + <li class="h-entry"> + <time class="dt-published" datetime="{{ page.date | date(format="%+") }}">{{ page.date | date(format="%F") }}</time> + <a class="u-url p-name" href="{{ page.path | safe }}">{{ page.title }}</a> + </li> + {% endfor %} + </ul> + </section> +</main> +{% endblock %}