From 0e84a2e0306b00ac810c4e68bb9dc079ec3f74d7 Mon Sep 17 00:00:00 2001 From: Hysterelius Date: Fri, 29 Sep 2023 09:30:15 +1000 Subject: Remove unnecessary tag (#150) * Remove unnecessary tag * Consistent current page styling--- templates/macros/macros.html | 2 +- templates/page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/macros/macros.html b/templates/macros/macros.html index a6d31c6..9d794ee 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -15,7 +15,7 @@ {%- set uglyurls = config.extra.uglyurls | default(value=false) -%} {%- if config.extra.offline %}{% set uglyurls = true %}{% endif %} {%- if inner.content == page.content %} -
  • {{ inner.title }}
  • +
  • {{ inner.title }}
  • {% else %}
  • {{ inner.title }}
  • {%- endif %} diff --git a/templates/page.html b/templates/page.html index b362877..8b63ac7 100644 --- a/templates/page.html +++ b/templates/page.html @@ -64,7 +64,7 @@
      {%- for inner in tag.pages | sort(attribute="date") %} {%- if inner.content == page.content %} -
    1. {{ inner.title }}
    2. +
    3. {{ inner.title }}
    4. {%- set_global current_section_index = loop.index0 %} {# Finds the current section, needed for pagination logic later #} {% else %}
    5. {{ inner.title }}
    6. -- cgit v1.3.1