summaryrefslogtreecommitdiff
path: root/_includes/footer.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/footer.html')
-rw-r--r--_includes/footer.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
new file mode 100644
index 0000000..2e34521
--- /dev/null
+++ b/_includes/footer.html
@@ -0,0 +1,27 @@
+{% if site.footer_fixed %}
+<footer class="fixed-bottom">
+ <div class="container mt-0">
+ &copy; Copyright {{ site.time | date: '%Y' }} {{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}.
+ {{ site.footer_text }}
+ {% if site.impressum_path %}
+ <a href="{{ site.url }}{{ site.baseurl }}{{ site.impressum_path }}">Impressum</a>.
+ {% endif %}
+ {% if site.last_updated %}
+ Last updated: {{ "now" | date: '%B %d, %Y' }}.
+ {% endif %}
+ </div>
+</footer>
+{% else %}
+<footer class="sticky-bottom mt-5">
+ <div class="container">
+ &copy; Copyright {{ site.time | date: '%Y' }} {{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}.
+ {{ site.footer_text }}
+ {% if site.impressum_path %}
+ <a href="{{ site.url }}{{ site.baseurl }}{{ site.impressum_path }}">Impressum</a>.
+ {% endif %}
+ {% if site.last_updated %}
+ Last updated: {{ "now" | date: '%B %d, %Y' }}.
+ {% endif %}
+ </div>
+</footer>
+{% endif %}