From: Michael Tremer Date: Tue, 24 Oct 2023 16:14:03 +0000 (+0000) Subject: blog: Move history navigation to the bottom of the page X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e114cb9c138e2af154ab733a85aa52ea70954e46;p=ipfire.org.git blog: Move history navigation to the bottom of the page Signed-off-by: Michael Tremer --- diff --git a/src/templates/blog/index.html b/src/templates/blog/index.html index 2f5819a9..678f9e84 100644 --- a/src/templates/blog/index.html +++ b/src/templates/blog/index.html @@ -120,10 +120,11 @@ - - {% module BlogHistoryNavigation() %} + + {# Show links to older years... #} + {% module BlogHistoryNavigation() %} {% end block %} diff --git a/src/templates/blog/modules/history-navigation.html b/src/templates/blog/modules/history-navigation.html index 7ea0b643..0d82502c 100644 --- a/src/templates/blog/modules/history-navigation.html +++ b/src/templates/blog/modules/history-navigation.html @@ -1,9 +1,13 @@ -
{{ _("Years") }}
+
+
+
+ {{ _("Archive") }} +
-
    - {% for year in years %} -
  • - {{ year }} -
  • - {% end %} -
+ {% for year in years %} + + {% end %} +
+
diff --git a/src/templates/blog/year.html b/src/templates/blog/year.html index 5f470699..b9339153 100644 --- a/src/templates/blog/year.html +++ b/src/templates/blog/year.html @@ -31,10 +31,9 @@
{% module BlogList(posts) %}
-
- {% module BlogHistoryNavigation() %} -
+ + {% module BlogHistoryNavigation() %} {% end block %}