1 parent 598551c commit 5f731a2Copy full SHA for 5f731a2
2 files changed
assets/scss/components/_footer.scss
@@ -9,7 +9,7 @@ footer {
9
.social {
10
justify-content: center;
11
12
- img {
+ svg {
13
max-width: 2rem;
14
}
15
layouts/partials/footer.html
@@ -26,7 +26,8 @@
26
{{ with $url }}
27
<li>
28
<a href="{{ . }}" target="_blank" rel="noopener noreferrer">
29
- <img src="{{ "icons/" | relURL }}{{ $icon }}" alt="{{ $key }} icon" />
+ {{ $svgPath := printf "static/icons/%s" $icon }}
30
+ {{ readFile $svgPath | safeHTML }}
31
</a>
32
</li>
33
{{ end }}
0 commit comments