From 00d21a089d9c713972dc003ca1a704b48b3a3453 Mon Sep 17 00:00:00 2001 From: jultty Date: Sat, 11 Apr 2026 14:20:51 -0300 Subject: [PATCH] Move posts to the bottom in the index template --- templates/index.html | 47 ++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/templates/index.html b/templates/index.html index f4d79ed..2def7cb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -20,29 +20,6 @@ {% block content %} -

- {%- if lang == "pt" %}Últimos posts{% else %}Latest posts{% endif -%} -

- {%- if lang == "pt" %} - {%- set posts = get_section(path="posts/_index.pt.md") %} - {%- else %} - {%- set posts = get_section(path="posts/_index.md") %} - {%- endif %} - -

- {%- if lang == "pt" %}Ver todos{% else %}See all{% endif %} -

-

{%- if lang == "pt" %}Últimas notas{% else %}Latest notes{% endif -%}

@@ -97,4 +74,28 @@ {%- if lang == "pt" %}Ver todos{% else %}See all{% endif %}

+

+ {%- if lang == "pt" %}Últimos posts{% else %}Latest posts{% endif -%} +

+ {%- if lang == "pt" %} + {%- set posts = get_section(path="posts/_index.pt.md") %} + {%- else %} + {%- set posts = get_section(path="posts/_index.md") %} + {%- endif %} + +

+ {%- if lang == "pt" %}Ver todos{% else %}See all{% endif %} +

+ + {%- endblock content %}