diff options
| author | Jieiku | 2024-06-29 15:08:35 -0700 |
|---|---|---|
| committer | Jieiku | 2024-06-29 15:08:35 -0700 |
| commit | 9d39fb8af51c205511f116bb308ee64835279927 (patch) | |
| tree | 4f230a7aceb61df6d1fa25e468b6fb200d4a0f56 /templates/base.html | |
| parent | e1f0bfa039514f78503549c7bdc5851ee2b93a1b (diff) | |
| download | abridge-9d39fb8af51c205511f116bb308ee64835279927.tar.gz abridge-9d39fb8af51c205511f116bb308ee64835279927.tar.bz2 abridge-9d39fb8af51c205511f116bb308ee64835279927.zip | |
Page Spacing Improvements
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 27 |
1 files changed, 15 insertions, 12 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 }} |
