]>
Commit | Line | Data |
---|---|---|
1 | <footer class="footer"> | |
2 | <div class="footer-container"> | |
3 | {% for footer in config.FOOTER %} | |
4 | <div class="footerchild"> | |
5 | <h2>{{ footer.heading }}</h2> | |
6 | <ul> | |
7 | {% for link in footer.links %} | |
8 | {%- if link is mapping %} | |
9 | <li> | |
10 | <a href="{{ url_for(link.link, ignore_absolute=True) }}">{{ link.name }}</a> | |
11 | </li> | |
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 -%} | |
23 | {% endfor %} | |
24 | </ul> | |
25 | </div> | |
26 | {% endfor %} | |
27 | </div> | |
28 | </footer> | |
29 | <footer class="copyright"> | |
30 | <div>{{ config.COPYRIGHT|safe }}</div> | |
31 | <div> | |
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 %} | |
39 | </div> | |
40 | </footer> |