feat: footer info
This commit is contained in:
@@ -205,6 +205,20 @@ form:
|
||||
size: medium
|
||||
default: "2022"
|
||||
|
||||
footer.info:
|
||||
type: text
|
||||
label: Footer info
|
||||
help: Additional info displayed in footer
|
||||
size: medium
|
||||
default: "Made with ♥️ by Tymoteusz Jóźwiak"
|
||||
|
||||
footer.info_en:
|
||||
type: text
|
||||
label: Footer info [EN]
|
||||
help: English translation of additional info displayed in footer
|
||||
size: medium
|
||||
default: "Made with ♥️ by Tymoteusz Jóźwiak"
|
||||
|
||||
analytics:
|
||||
type: textarea
|
||||
label: Analytics script
|
||||
|
||||
@@ -19,6 +19,8 @@ footer:
|
||||
title_en:
|
||||
url:
|
||||
year:
|
||||
info:
|
||||
info_en:
|
||||
hashover:
|
||||
domain:
|
||||
title:
|
||||
|
||||
@@ -3,7 +3,12 @@
|
||||
{% else %}
|
||||
{% set year = theme_config.footer.year ~ "-" ~ "now"|date("y") %}
|
||||
{% endif %}
|
||||
<span class="footer-copyright">© {{ year }}</span>
|
||||
<span class="footer-copyright">
|
||||
© {{ year }}
|
||||
{% if theme_config.footer.info_en is defined and theme_config.footer.info_en %}
|
||||
{{ theme_config.footer.info_en }}
|
||||
{% endif %}
|
||||
</span>
|
||||
<span class="footer-link">
|
||||
<a href="{{ theme_config.footer.url }}">{{ theme_config.footer.title_en }}</a>
|
||||
</span>
|
||||
|
||||
@@ -3,7 +3,12 @@
|
||||
{% else %}
|
||||
{% set year = theme_config.footer.year ~ "-" ~ "now"|date("y") %}
|
||||
{% endif %}
|
||||
<span class="footer-copyright">© {{ year }}</span>
|
||||
<span class="footer-copyright">
|
||||
© {{ year }}
|
||||
{% if theme_config.footer.info is defined and theme_config.footer.info %}
|
||||
{{ theme_config.footer.info }}
|
||||
{% endif %}
|
||||
</span>
|
||||
<span class="footer-link">
|
||||
<a href="{{ theme_config.footer.url }}">{{ theme_config.footer.title }}</a>
|
||||
</span>
|
||||
Reference in New Issue
Block a user