diff options
author | Franck Cuny <franck@fcuny.net> | 2024-09-22 11:15:07 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-09-22 11:15:07 -0700 |
commit | ed1db38bdb2f9c6a114b8c1c3bba705dc276dc45 (patch) | |
tree | 3a2bddaae0c32dce6723c8498d15ac8f0a7e76f6 /templates | |
parent | simplify the CSS (diff) | |
download | fcuny.net-ed1db38bdb2f9c6a114b8c1c3bba705dc276dc45.tar.gz |
restructure a bit the index
Diffstat (limited to '')
-rw-r--r-- | templates/index.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/index.html b/templates/index.html index 4f848be..5c11ab3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,29 +9,29 @@ </section> {% endif %} -<h2>articles</h2> +<h2>articles ⇢</h2> {%- set blog = get_section(path="blog/_index.md") -%} {%- set post_count = blog.pages | length -%} -<ul> {%- for post in blog.pages %} -<li><article> +<article> <h3><a href="{{- post.path|safe -}}">{{- post.title -}}</a></h3> <time datetime="{{ post.date | date(format="%+")}}">{{ post.date | date(format="%B %m, %Y")}}</time> -</article></li> +</article> {%- endfor %} -</ul> -<h2>notes</h2> +<h2>notes ⇢</h2> {%- set notes = get_section(path="notes/_index.md") -%} {%- set post_count = notes.pages | length -%} -<ul> {%- for post in notes.pages %} -<li><article> +<article> <h3><a href="{{- post.path|safe -}}">{{- post.title -}}</a></h3> <time datetime="{{ post.date | date(format="%+")}}">{{ post.date | date(format="%B %m, %Y")}}</time> -</article></li> +</article> {%- endfor %} -</ul> + +<h2>contact</h2> + +Email: <a href="mailto:franck@fcuny.net">franck@fcuny.net</a> </section> |