From 86ef6b2c2cb5445e4349838531bd39be585467e7 Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Tue, 28 Jan 2025 22:52:15 -0500 Subject: [PATCH] Improve multilingual support --- templates/page.html | 11 +++++++++++ templates/partials/language_switcher.html | 10 ++++++++++ templates/partials/nav.html | 7 ------- templates/section.html | 11 +++++++++++ 4 files changed, 32 insertions(+), 7 deletions(-) diff --git a/templates/page.html b/templates/page.html index c20e930..4c62e49 100644 --- a/templates/page.html +++ b/templates/page.html @@ -111,6 +111,17 @@ Current section extra: {% if current_section %}{{ current_section.extra | json_e {{ page.title }} + + + diff --git a/templates/section.html b/templates/section.html index 66465ae..2872b87 100644 --- a/templates/section.html +++ b/templates/section.html @@ -38,6 +38,17 @@ {% set path = section.path %} {% endif -%} + + + {%- if show_projects_first -%} {%- include "partials/main_page_projects_list.html" -%} {%- include "partials/main_page_posts_list.html" -%}