Fork of @spf13's port of Mdo's excellent theme to Hugo https://brendan.abolivier.bzh/

1234567891011121314151617181920212223242526272829
  1. <aside class="sidebar">
  2. <div class="container sidebar-sticky">
  3. <div class="sidebar-about">
  4. <a href="{{ .Site.BaseURL }}"><img src="{{ .Site.BaseURL }}images/logo.png" alt="{{ .Site.Title }} logo" /></a>
  5. <p class="lead">
  6. {{ with .Site.Params.description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}}
  7. </p>
  8. </div>
  9. <nav>
  10. <ul class="sidebar-nav">
  11. <li><i class="fas fa-home"></i> <a rel="me" href="{{ .Site.BaseURL }}">Home</a> </li>
  12. <li><i class="fas fa-rss-square"></i> <a rel="me" href="{{ .Site.RSSLink }}">RSS Feed</a></li>
  13. <li><i class="fab fa-twitter-square"></i> <a rel="me" href="https://twitter.com/{{ .Site.Params.twitter }}">{{ .Site.Params.twitter }}</a></li>
  14. <li><i class="fab fa-mastodon"></i> <a rel="me" href="https://{{ .Site.Params.mastodon.instance }}/@{{ .Site.Params.mastodon.username }}">{{ .Site.Params.mastodon.username }}</a></li>
  15. <li><i class="fab fa-github"></i> <a rel="me" href="{{ .Site.Params.git.url }}">{{ .Site.Params.git.username }}</a></li>
  16. <li><i class="fas fa-envelope"></i> <a rel="me" href=mailto:{{ .Site.Params.email }}>{{ .Site.Params.email }}</a></li>
  17. <li><i class="fas fa-key"></i> <a rel="me" href="https://{{ .Site.Params.keyserver }}/pks/lookup?op=get&search=0x{{ replace .Site.Params.pgp " " "" }}">{{ .Site.Params.pgp }}</a></li>
  18. {{ range .Site.Menus.main -}}
  19. <li><a href="{{.URL}}"> {{ .Name }} </a></li>
  20. {{- end }}
  21. </ul>
  22. </nav>
  23. <p><a href="https://creativecommons.org/licenses/{{ .Site.Params.creativeCommons }}/4.0/"><img src="{{ .Site.BaseURL}}images/cc/{{ .Site.Params.creativeCommons }}.png" alt="CC {{ .Site.Params.creativeCommons }}" class="inline" /></a> {{ .Site.Params.author }}</p>
  24. <p class="small">Built with <a href="https://gohugo.io/">Hugo</a>, powered by <a href="https://github.com/babolivier/hyde">Hyde</a></p>
  25. </div>
  26. </aside>