Add RSS link to social links in the header
This commit is contained in:
parent
24272e7a3b
commit
5c65dade97
9 changed files with 172 additions and 8 deletions
|
@ -14,9 +14,14 @@
|
|||
|
||||
<nav class="social">
|
||||
<menu>
|
||||
<li><a style="--url: url(./twitter.svg)" href="https://twitter.com/erynofwales" target="_blank"><span>tw</span></a></li>
|
||||
<li><a style="--url: url(./github.svg)" href="https://github.com/erynofwales" target="_blank"><span>gh</span></a></li>
|
||||
<li><a style="--url: url(./instagram.svg)" href="https://instagram.com/erynofwales" target="_blank"><span>ig</span></a></li>
|
||||
<li><a style="--url: url(/icons/twitter.svg)" href="https://twitter.com/erynofwales" target="_blank" aria-label="twitter"><span>tw</span></a></li>
|
||||
<li><a style="--url: url(/icons/github.svg)" href="https://github.com/erynofwales" target="_blank" aria-label="github"><span>gh</span></a></li>
|
||||
<li><a style="--url: url(/icons/instagram.svg)" href="https://instagram.com/erynofwales" target="_blank" aria-label="instagram"><span>ig</span></a></li>
|
||||
{{ with .Site.GetPage "/blog" }}
|
||||
{{ with .OutputFormats.Get "rss" }}
|
||||
<li><a style="--url: url(/icons/rss.svg)" href="{{ .RelPermalink }}" aria-label="rss"><span>rss</span></a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</menu>
|
||||
</nav>
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue