aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJieiku2024-08-13 14:03:42 -0700
committerJieiku2024-08-13 14:03:42 -0700
commit0a3e63362773c90609d2707f82d93be717bfcfb4 (patch)
tree8211dbb45484735242d7f910a40a6e9d2cc7f6e1 /templates
parent8548e101a37589950069f739305425281c3d8011 (diff)
downloadabridge-0a3e63362773c90609d2707f82d93be717bfcfb4.tar.gz
abridge-0a3e63362773c90609d2707f82d93be717bfcfb4.tar.bz2
abridge-0a3e63362773c90609d2707f82d93be717bfcfb4.zip
Accessibility and SEO
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html10
-rw-r--r--templates/macros/macros.html2
2 files changed, 6 insertions, 6 deletions
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 @@
<div>
{%- if config.extra.logo -%}
- <h1><a href="{{ get_url(path="/", lang=lang) }}{%- if uglyurls %}/index.html{%- endif %}" title="{{config.title}}">
+ <big><a href="{{ get_url(path="/", lang=lang) }}{%- if uglyurls %}/index.html{%- endif %}" title="{{config.title}}">
{%- if config.extra.logo.file -%}
<img src="{{ config.base_url | safe }}/{{ config.extra.logo.file | safe }}"{%- if config.extra.logo.alt %} alt="{{ config.extra.logo.alt | safe }}"{%- endif %}{%- if config.extra.logo.width %} width="{{ config.extra.logo.width | safe }}"{%- endif %}{%- if config.extra.logo.height %} height="{{ config.extra.logo.height | safe }}"{%- endif %} />
{%- endif -%}
{%- if config.extra.logo.text -%}{{ config.extra.logo.text | safe }}{%- endif -%}
- </a></h1>
+ </a></big>
{%- elif config.extra.textlogo -%}
- <h1><a href="{{ get_url(path="/", lang=lang) }}{%- if uglyurls -%}
+ <big><a href="{{ get_url(path="/", lang=lang) }}{%- if uglyurls -%}
{%- if lang == config.default_language -%}/{%- endif -%}
- index.html{%- endif -%}" title="{{config.title}}">{{ config.extra.textlogo | safe }}</a></h1>
+ index.html{%- endif -%}" title="{{config.title}}">{{ config.extra.textlogo | safe }}</a></big>
{%- elif config.title -%}
- <h1><a href="{{ get_url(path="/", lang=lang) }}{%- if uglyurls %}/index.html{%- endif %}" title="{{config.title}}">{{ config.title | safe }}</a></h1>
+ <big><a href="{{ get_url(path="/", lang=lang) }}{%- if uglyurls %}/index.html{%- endif %}" title="{{config.title}}">{{ config.title | safe }}</a></big>
{%- endif -%}
</div>
<div>
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 %}
- <h1>{% if config.extra.title_size_index %}<span class="{{ config.extra.title_size_index }}">{% endif %}<a href="{{ page.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ page.title }}</a>{% if config.extra.title_size_index %}</span>{% endif %}</h1>
+ <big>{% if config.extra.title_size_index %}<span class="{{ config.extra.title_size_index }}">{% endif %}<a href="{{ page.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ page.title }}</a>{% if config.extra.title_size_index %}</span>{% endif %}</big>
{%- endmacro title_index %}