gmgauthier.com/layouts/partials/social.html

49 lines
1.4 KiB
HTML

<div class="pure-menu social">
<ul class="pure-menu-list">
{{ if .OutputFormats.Get "RSS" }}
<li class="pure-menu-item">
<a class="pure-menu-link" href='{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}'><i
class="fas fa-rss fa-fw"></i>RSS</a>
<hr style="border:1px solid #333333"/>
</li>
{{ end }}
{{ with .Site.Params.gitea }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="{{ . }}" rel="me" target="_blank">
<i class="fa fa-code fa-fw"></i>My Code</a>
</li>
{{ end }}
{{ with .Site.Params.locals }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="{{ . }}" rel="me" target="_blank">
<i class="fa fa-pen fa-fw"></i>My Locals</a>
</li>
{{ end }}
{{ with .Site.Params.rumble }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="{{ . }}" rel="me" target="_blank">
<i class="fa fa-video fa-fw"></i>My Rumble</a>
</li>
{{ end }}
{{ with .Site.Params.twitter }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="{{ . }}" rel="me" target="_blank">
<i class="fab fa-twitter fa-fw"></i>My X (Twitter)</a>
</li>
{{ end }}
{{ with .Site.Params.spotify }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="{{ . }}" rel="me" target="_blank">
<i class="fa fa-podcast fa-fw"></i>My Spotify</a>
</li>
{{ end }}
</ul>
</div>