Skip to content
Snippets Groups Projects
Forked from R3 / howto-cards LEGACY VERSION
395 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
footer.html 1.95 KiB
<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.timestamp %}
            <p>Last page modification: {{ page.timestamp }}</p>
          {% endif %}

          {% 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 %}