diff --git a/_includes/footer.liquid b/_includes/footer.liquid index 102af14..f028dfe 100644 --- a/_includes/footer.liquid +++ b/_includes/footer.liquid @@ -1,16 +1,20 @@ +{% capture footer_contents %} + © Copyright {{ site.time | date: '%Y' }} + {{ site.first_name }} + {{ site.middle_name }} + {{ site.last_name }}. {{ site.footer_text }} + {% if site.impressum_path %} + Impressum. + {% endif %} + {% if site.last_updated %} + Last updated: {{ 'now' | date: '%B %d, %Y' }}. + {% endif %} +{% endcapture %} + {% if site.footer_fixed %} {% else %} @@ -20,16 +24,7 @@ {% endif %}
- © Copyright {{ site.time | date: '%Y' }} - {{ site.first_name }} - {{ site.middle_name }} - {{ site.last_name }}. {{ site.footer_text }} - {% if site.impressum_path %} - Impressum. - {% endif %} - {% if site.last_updated %} - Last updated: {{ 'now' | date: '%B %d, %Y' }}. - {% endif %} + {{ footer_contents }}
{% endif %}