diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-07-04 11:36:33 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-07-04 11:36:33 -0700 |
| commit | fccd15aec3507fd3f0cb4a2c18a0ec1af1d69c1f (patch) | |
| tree | f506115024e7e6247279409fa053e59927ec398c /templates/section.html | |
| parent | dont format html files with prettier (diff) | |
| download | fcuny.net-fccd15aec3507fd3f0cb4a2c18a0ec1af1d69c1f.tar.gz | |
migrate to zola
Diffstat (limited to 'templates/section.html')
| -rw-r--r-- | templates/section.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..7130c84 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,16 @@ +{% extends "orphan.html" %} + +{% block title %}{{ section.title }} - {{ config.title }}{% endblock title %} + +{% block content %} +<h1>{{ section.title }}</h1> +<ul> +{% for post in section.pages %} + <li> + <a href="{{ post.permalink }}">{{ post.title }}</a> + <br> + <small>{{ post.date | date(format="%d %h %Y") }}</small> + </li> +{% endfor %} +</ul> +{% endblock content %} |
