-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathfooter.njk
More file actions
48 lines (47 loc) · 2.32 KB
/
footer.njk
File metadata and controls
48 lines (47 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<footer class="footer themed dark">
<nav class="footer__nav">
<section class="footer__section footer__section--breadcrumb{% if footerLinks.length <= 1 %} footer__section--collapsed{% endif %}">
<div class="footer__meta-title">You are here</div>
<div class="footer__breadcrumbs">
{% for link in footerLinks %}
<a class="footer__breadcrumb{% if link.isTitle %} footer__breadcrumb--title{% endif %}" href="{{ link.url }}">{{- link.name -}}</a>
{% endfor %}
</div>
</section>
<section class="footer__section">
<div class="footer__meta-title">✷ ver. ss25</div>
<a class="footer__link" href="/">Home</a>
</section>
{% for linkGroup in site.nav %}
<section class="footer__section footer__section--link-group{% if linkGroup.footerClass%} {{ linkGroup.footerClass }}{% endif %}">
<div class="footer__meta-title">{{ linkGroup.title }}</div>
{% for link in linkGroup.links %}
<div>
<a class="footer__link" href="{{ link.url }}">{{ link.text }}</a>
<span class="footer__link-description">{{ link.description }}</span>
</div>
{% endfor %}
</section>
{% endfor %}
<section class="footer__section footer__section--social">
<div class="footer__meta-title">Elsewhere</div>
<ul class="social-list">
{% for socialLink in social %}
{% include "social-link-list-item.njk" %}
{% endfor %}
</ul>
</section>
<section class="footer__section">
<div class="footer__meta-title">Contact</div>
<a class="footer__link" href="mailto:yo@henry.codes">yo@henry.codes</a>
</section>
</nav>
<div class="footer__colophon">
<!-- Made you look, you massive dork you 😘 -->
<span>`© ${new Date().getCurrentYear()}`</span>
<span>made with :emoji: in Denver, Colorado</span>
</div>
<div class="footer__graphic">
{% include 'graphics/crown.svg' %}
</div>
</footer>