diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000000000000000000000000000000000000..66beb4e836be593b66c1f0b846287f295de152ff --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,47 @@ +<footer class="site-footer h-card"> + <div class="wrapper footer-wrapper"> + <data class="u-url" href="{{ "/" | relative_url }}"></data> + + <div class="footer-cp"> + <div class="r3-logo-container"> + <img class="r3-logo" src="{{ '/assets/banners/r3-logo.svg' | relative_url }}" type="image/svg+xml" /> + <img class="lcsb-logo" src="{{ '/assets/banners/lcsb-compact.svg' | relative_url }}" type="image/svg+xml" /> + </div> + + {% comment %}This is used to generate share URL for howto-pages{% endcomment %} + <div class="footer-text-container"> + {% if page.shortcut %} + <p> + Share this page: + <a href="{{ site.share_url }}{{ page.shortcut }}"> + {{ site.share_url }}{{ page.shortcut }} + </a> + </p> + + {% elsif page.include_link %} + {% assign parts = page.url | absolute_url | replace: ".html", "" | replace: "http://", "" | replace: "https://", "" | split: "/" %} + <p> + Share this page: + <a href="{{ site.share_url }}{{ parts[site.include_link_index] }}"> + {{ site.share_url }}{{ parts[site.include_link_index] }} + </a> + </p> + {% endif %} + <p> + The contents are available under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike License (CC-BY-SA 4.0)</a>. + </p> + + {% if site.siteID > 0 %} + {%- include policy.html -%} + {% endif %} + </div> + + <div class="social-container"> + {%- include social.html -%} + </div> + </div> + </div> + </footer> + {% if site.siteID > 0 %} + {%- include gdpr-banner.html -%} + {% endif %} \ No newline at end of file