aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-26 19:01:18 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-26 19:01:18 -0800
commitbf56a9edfcca610bc771e0176f72bbce59fcc87a (patch)
tree382908e01dee4992a9566a5859928ee4c10334bb /templates/index.html
parentadd back the resume and generate it with nix (diff)
downloadfcuny.net-bf56a9edfcca610bc771e0176f72bbce59fcc87a.tar.gz
large cleanup
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html29
1 files changed, 15 insertions, 14 deletions
diff --git a/templates/index.html b/templates/index.html
index 43b50d1..0425f26 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,14 +1,15 @@
-{% extends "base.html" %}
-
-{%- block content -%}
-
-{% if section.content %}
- {{ section.content | safe }}
-{% endif %}
-
-{% set blogtags = get_taxonomy(kind="tags") %}
-{% for tag in blogtags.items %}
- <a href="{{ get_taxonomy_url(kind="tags", name=tag.name) }}">#{{ tag.name }}</a>
-{% endfor %}
-
-{%- endblock content -%}
+{% extends "base.html" %} {%- block content -%} {% if section.content %} {{
+section.content | safe }} {% endif %}
+
+<hr />
+
+{%- for post in section.pages -%}
+<section>
+ <ul class="post-list">
+ <li>
+ <a href="{{- post.path|safe -}}">{{- post.title -}}</a>
+ <span class="post-date">{{ post.date | date(format="%d %h %Y")}}</span>
+ </li>
+ </ul>
+</section>
+{%- endfor -%} {%- endblock content -%}