feat: footer info
This commit is contained in:
@@ -205,6 +205,20 @@ form:
|
|||||||
size: medium
|
size: medium
|
||||||
default: "2022"
|
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:
|
analytics:
|
||||||
type: textarea
|
type: textarea
|
||||||
label: Analytics script
|
label: Analytics script
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ footer:
|
|||||||
title_en:
|
title_en:
|
||||||
url:
|
url:
|
||||||
year:
|
year:
|
||||||
|
info:
|
||||||
|
info_en:
|
||||||
hashover:
|
hashover:
|
||||||
domain:
|
domain:
|
||||||
title:
|
title:
|
||||||
|
|||||||
@@ -3,7 +3,12 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
{% set year = theme_config.footer.year ~ "-" ~ "now"|date("y") %}
|
{% set year = theme_config.footer.year ~ "-" ~ "now"|date("y") %}
|
||||||
{% endif %}
|
{% 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">
|
<span class="footer-link">
|
||||||
<a href="{{ theme_config.footer.url }}">{{ theme_config.footer.title_en }}</a>
|
<a href="{{ theme_config.footer.url }}">{{ theme_config.footer.title_en }}</a>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -3,7 +3,12 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
{% set year = theme_config.footer.year ~ "-" ~ "now"|date("y") %}
|
{% set year = theme_config.footer.year ~ "-" ~ "now"|date("y") %}
|
||||||
{% endif %}
|
{% 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">
|
<span class="footer-link">
|
||||||
<a href="{{ theme_config.footer.url }}">{{ theme_config.footer.title }}</a>
|
<a href="{{ theme_config.footer.url }}">{{ theme_config.footer.title }}</a>
|
||||||
</span>
|
</span>
|
||||||
Reference in New Issue
Block a user