footer.html 1.31 KB
Newer Older
1
<footer class="site-footer h-card">
Yohan Jarosz's avatar
footer    
Yohan Jarosz committed
2
3
  <div class="wrapper footer-wrapper">
    <data class="u-url" href="{{ "/" | relative_url }}"></data>
4

Jacek Lebioda's avatar
Jacek Lebioda committed
5
    <div class="footer-cp">
6
7
8
9
10
11
      <div class="r3-logo-container">
        <img class="r3-logo"
             src="{{ '/assets/banners/r3-logo.svg' | relative_url }}"
             type="image/svg+xml" />
      </div>

Jacek Lebioda's avatar
Jacek Lebioda committed
12
      {% comment %}This is used to generate share URL for howto-pages{% endcomment %}
13
14
      {% if page.shortcut %}
      <p class="site-footer-share">Share this page:
Jacek Lebioda's avatar
Jacek Lebioda committed
15
16
        <a href="{{ site.share_url }}{{ page.shortcut }}">
          {{ site.share_url }}{{ page.shortcut }}
17
18
19
        </a>
      </p>
      {% elsif page.include_link %}
Jacek Lebioda's avatar
Bugfix    
Jacek Lebioda committed
20
        {% assign parts = page.url | absolute_url | replace: ".html", "" | replace: "http://", "" | replace: "https://", "" | split: "/" %}
Jacek Lebioda's avatar
Jacek Lebioda committed
21
      <p class="site-footer-share">Share this page:
Jacek Lebioda's avatar
Bugfix    
Jacek Lebioda committed
22
        <a href="{{ site.share_url }}{{ parts[site.include_link_index] }}">
Jacek Lebioda's avatar
Jacek Lebioda committed
23
24
25
26
          {{ site.share_url }}{{ parts[site.include_link_index] }}
        </a>
      </p>
      {% endif %}
27

Jacek Lebioda's avatar
Jacek Lebioda committed
28
29
30
31
32
      <p>
        © <a href="https://wwwen.uni.lu/" target="_parent">
            <strong>Université du Luxembourg</strong>,
          </a>
        {{ 'now' | date: "%Y" }}. All rights reserved.
33

Jacek Lebioda's avatar
Jacek Lebioda committed
34
        {%- include social.html -%}
35
      </p>
Jacek Lebioda's avatar
Jacek Lebioda committed
36
37
    </div>
  </div>
38
</footer>