From 228e8ee833f4e4930222b0c23c2872469217bc46 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 20 Jun 2022 20:07:15 -0700 Subject: Improve Sizing and Spacing --- templates/base.html | 21 +++++------ templates/macros/social.html | 88 +++++++++++++++++++++++--------------------- 2 files changed, 55 insertions(+), 54 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 7ff1e55..bdb2537 100644 --- a/templates/base.html +++ b/templates/base.html @@ -49,9 +49,8 @@
  • {{ i.name | safe }}

  • {%- endfor %} {%- if config.extra.js_theme %} -
  • {%- if config.extra.icon_contrast %}{%- else %}{%- endif %} +
  • {%- if config.extra.icon_contrast %}{%- else %}{%- endif %}
  • {%- endif %} - {%- if config.build_search_index %} @@ -86,9 +85,7 @@
    {%- endif %}
    -

    - {{- social_macros::social_links(social_config=config.extra.social) }} -

    + {{- social_macros::social_links(social_config=config.extra.social) }} {#- Copyright START #} {%- set copyright_start_year=config.extra.copyright_start_year | default(value="") %} @@ -96,13 +93,13 @@ {%- set copyright_end_year=config.extra.copyright_end_year | default(value=now() | date(format="%Y")) %} Copyright © {{ copyright_start_year ~ copyright_end_year }} {{ config.title }}

    {#- Copyright END #} - - {%- for i in config.extra.menu_footer %} - {{ i.name | safe }}   - {%- endfor %} -

    - - + {%- 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/social.html b/templates/macros/social.html index 96f0056..2fb9ecc 100644 --- a/templates/macros/social.html +++ b/templates/macros/social.html @@ -1,45 +1,49 @@ {%- macro social_links(social_config) %} + {%- endmacro %} -- cgit v1.3.1