]>
Commit | Line | Data |
---|---|---|
e874bcf7 | 1 | <footer class="footer"> |
502cdd50 | 2 | <div class="footer-container"> |
f58dd619 | 3 | {% for footer in config.FOOTER %} |
e874bcf7 | 4 | <div class="footerchild"> |
f58dd619 | 5 | <h2>{{ footer.heading }}</h2> |
e874bcf7 | 6 | <ul> |
f58dd619 | 7 | {% for link in footer.links %} |
4ce105d6 | 8 | {%- if link is mapping %} |
e874bcf7 | 9 | <li> |
f58dd619 | 10 | <a href="{{ url_for(link.link, ignore_absolute=True) }}">{{ link.name }}</a> |
e874bcf7 | 11 | </li> |
4ce105d6 EK |
12 | {%- else %} |
13 | <li> | |
14 | {% for item in link %} | |
15 | {% if item.link is defined %} | |
16 | <a href="{{ url_for(item.link, ignore_absolute=True) }}">{{ item.name }}</a> | |
17 | {% else %} | |
18 | {{ item.name }} | |
19 | {% endif %} | |
20 | {% endfor %} | |
21 | </li> | |
22 | {%- endif -%} | |
f58dd619 | 23 | {% endfor %} |
e874bcf7 EK |
24 | </ul> |
25 | </div> | |
f58dd619 | 26 | {% endfor %} |
502cdd50 | 27 | </div> |
e874bcf7 EK |
28 | </footer> |
29 | <footer class="copyright"> | |
562659c2 | 30 | <div>{{ config.COPYRIGHT|safe }}</div> |
5799f060 | 31 | <div> |
562659c2 | 32 | {%- if config.GITHUB_URL is defined %} |
33 | <a href="{{ config.GITHUB_URL }}" target="_blank" alt="Github"><i class="fa fa-github"></i></a> | |
34 | {% endif -%} | |
35 | <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank" alt="Creative Commons"><i class="fa fa-creative-commons"></i></a> | |
36 | {%- for link in config.SOCIAL %} | |
37 | <a href="{{ link.link }}" target="_blank" alt="{{ link.name }}"><i class="fa fa-{{ link.icon }}"></i></a> | |
38 | {% endfor %} | |
5799f060 | 39 | </div> |
e874bcf7 | 40 | </footer> |