From 0a3e63362773c90609d2707f82d93be717bfcfb4 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Tue, 13 Aug 2024 14:03:42 -0700 Subject: Accessibility and SEO --- templates/base.html | 10 +++++----- templates/macros/macros.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 4be10e5..9e69e6f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -32,19 +32,19 @@
{%- if config.extra.logo -%} -

+ {%- if config.extra.logo.file -%} {{ config.extra.logo.alt | safe }} {%- endif -%} {%- if config.extra.logo.text -%}{{ config.extra.logo.text | safe }}{%- endif -%} -

+ {%- elif config.extra.textlogo -%} -

{{ config.extra.textlogo | safe }}

+ index.html{%- endif -%}" title="{{config.title}}">{{ config.extra.textlogo | safe }} {%- elif config.title -%} -

{{ config.title | safe }}

+ {{ config.title | safe }} {%- endif -%}
diff --git a/templates/macros/macros.html b/templates/macros/macros.html index dd7b975..fd551f4 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -100,7 +100,7 @@ {%- macro title_index(page, config) %} {%- set uglyurls = config.extra.uglyurls | default(value=false) -%} {%- if config.extra.search_library %}{%- if config.extra.search_library == "offline" %}{% set uglyurls = true %}{% endif %}{% endif %} -

{% if config.extra.title_size_index %}{% endif %}{{ page.title }}{% if config.extra.title_size_index %}{% endif %}

+ {% if config.extra.title_size_index %}{% endif %}{{ page.title }}{% if config.extra.title_size_index %}{% endif %} {%- endmacro title_index %} -- cgit v1.3.1