sidebar-content.html 831 B

123456789101112131415161718192021222324
  1. <div class="sidebar-content">
  2. <p><img src="/img/puppy.png" alt="Logo"></p>
  3. <a href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a>
  4. <p>{{ .Site.Params.description }}</p>
  5. {{ if .Site.Params.sidebarFreeText }}
  6. <div class="sidebar-freetext">
  7. <p>{{ .Site.Params.sidebarFreeText }}</p>
  8. </div>
  9. {{ end }}
  10. <ul class="sidebar-menus">
  11. {{ range .Site.Menus.main }}
  12. <li>&#187; <a href="{{.URL}}">{{ .Name }}</a> {{ .Post }}</li>
  13. {{end}}
  14. </ul>
  15. <p class="copyright">{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{now.Format "2006"}}. All rights reserved. {{end}}</p>
  16. <p class="attr">Powered by <a href="http://gohugo.io">Hugo</a> &amp; <a href="https://github.com/ExchangeRate-API/strange-case">Strange Case</a> (inspired by <a href="https://github.com/poole/hyde">Hyde</a>).</p>
  17. </div>