diff options
| author | Jieiku | 2022-06-12 00:45:04 -0700 |
|---|---|---|
| committer | Jieiku | 2022-06-12 00:45:04 -0700 |
| commit | 6fd5c66075a45e784e5c63bdcd05105b07ae319b (patch) | |
| tree | 318c949ee6f9caad8a454e1750e5bcfda3ace262 /templates/base.html | |
| parent | 4a75c5e5bd37adf9de3c8cc83af74cb53312d7be (diff) | |
| download | abridge-6fd5c66075a45e784e5c63bdcd05105b07ae319b.tar.gz abridge-6fd5c66075a45e784e5c63bdcd05105b07ae319b.tar.bz2 abridge-6fd5c66075a45e784e5c63bdcd05105b07ae319b.zip | |
Improve Spacing
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html index dc48e5c..3a59395 100644 --- a/templates/base.html +++ b/templates/base.html @@ -93,9 +93,9 @@ {%- set copyright_start_year=config.extra.copyright_start_year | default(value="") %} {%- if copyright_start_year %}{%- set copyright_start_year=copyright_start_year ~ "-" %}{%- endif %} {%- set copyright_end_year=config.extra.copyright_end_year | default(value=now() | date(format="%Y")) %} - <p>Copyright © {{ copyright_start_year ~ copyright_end_year }} {{ config.title }}</p> + <p{%- if config.extra.footer_size %} class="{{ config.extra.footer_size }}"{% endif %}>Copyright © {{ copyright_start_year ~ copyright_end_year }} {{ config.title }}</p> {#- Copyright END #} - <p> + <p{%- if config.extra.footer_size %} class="{{ config.extra.footer_size }}"{% endif %}> {%- for i in config.extra.menu_footer %} <a href="{{ get_url(path=i.url, trailing_slash=i.slash) }}{%- if i.slash and config.extra.uglyurls %}index.html{%- endif %}">{{ i.name | safe }}</a> {%- endfor %} @@ -105,8 +105,8 @@ {%- if config.extra.footer_credit | default(value=true) %} {%- if config.extra.footer_credit_override %} {{ config.extra.footer_credit_override | safe }} - {%- else %} - <p>Powered by <a href="https://www.getzola.org/">Zola</a> and <a href="https://github.com/jieiku/abridge/">Abridge</a></p> + {%- else %} + <p{%- if config.extra.footer_size %} class="{{ config.extra.footer_size }}"{% endif %}>Powered by <a href="https://www.getzola.org/">Zola</a> and <a href="https://github.com/jieiku/abridge/">Abridge</a></p> {%- endif %} {%- endif %} </div> |
