aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html27
-rw-r--r--templates/macros/macros.html2
-rw-r--r--templates/partials/social.html2
3 files changed, 17 insertions, 14 deletions
diff --git a/templates/base.html b/templates/base.html
index e36b8b1..1604dbe 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -131,6 +131,21 @@
<div class="c">
{%- include "partials/social.html" %}
+
+
+ {%- if config.extra.menu_footer %}
+ <nav class="vpad">
+ {%- for i in config.extra.menu_footer -%}
+ {%- if i.url != "sitemap.xml" %}
+ {%- set furl=get_url(path=i.url, lang=lang, trailing_slash=i.slash) %}
+ {%- else %}
+ {%- set furl=get_url(path=i.url, trailing_slash=i.slash) %}
+ {%- endif %}
+ <a class="rpad{%- if i.size %} {{ i.size }}{% endif %}" href="{{ furl | safe }}{%- if i.slash and uglyurls %}index.html{%- endif %}"{% if i.blank %} target="_blank"{% endif %}>{% if lang != config.default_language %} {{ macros::translate(key=i.name|safe, default=i.name|safe, i18n=i18n) }} {% else %} {{ i.name | safe }} {% endif %}</a>
+ {%- endfor %}
+ </nav>
+ {%- endif %}
+
{#- Copyright START #}
{%- if config.extra.copyright | default(value=true) -%}
{%- set current_year = now() | date(format="%Y") %}
@@ -149,18 +164,6 @@
{%- endif -%}
{#- Copyright END #}
- {%- if config.extra.menu_footer %}
- <nav>
- {%- for i in config.extra.menu_footer -%}
- {%- if i.url != "sitemap.xml" %}
- {%- set furl=get_url(path=i.url, lang=lang, trailing_slash=i.slash) %}
- {%- else %}
- {%- set furl=get_url(path=i.url, trailing_slash=i.slash) %}
- {%- endif %}
- <a{%- if config.extra.footer_size %} class="{{ config.extra.footer_size }}"{% endif %} href="{{ furl | safe }}{%- if i.slash and uglyurls %}index.html{%- endif %}"{% if i.blank %} target="_blank"{% endif %}>{% if lang != config.default_language %} {{ macros::translate(key=i.name|safe, default=i.name|safe, i18n=i18n) }} {% else %} {{ i.name | safe }} {% endif %}</a>
- {%- endfor %}
- </nav>
- {%- endif %}
{%- if config.extra.footer_credit | default(value=true) %}
{%- if config.extra.footer_credit_override %}
{{ config.extra.footer_credit_override | safe }}
diff --git a/templates/macros/macros.html b/templates/macros/macros.html
index 0473399..9794e5d 100644
--- a/templates/macros/macros.html
+++ b/templates/macros/macros.html
@@ -226,7 +226,7 @@
{%- set end = paginator.number_pagers %}
{%- endif %}
{%- endif %}
- <nav>
+ <nav class="vpad">
{%- set icon_first=config.extra.icon_first | default(value="svgs svgh angll") -%}
{%- set icon_prev=config.extra.icon_prev | default(value="svgs svgh angl") -%}
{%- set icon_next=config.extra.icon_next | default(value="svgs svgh angr") -%}
diff --git a/templates/partials/social.html b/templates/partials/social.html
index cf5d058..3c7421f 100644
--- a/templates/partials/social.html
+++ b/templates/partials/social.html
@@ -1,5 +1,5 @@
{#- Social Footer Icons #}
- <nav><div>
+ <nav class="tpad"><div>
{%- if config.generate_feeds and config.extra.feed -%}
{%- for feed in config.feed_filenames -%}