sidebar.html 785 Bytes
Newer Older
Erik Strand's avatar
Erik Strand committed
1
2
3
4
</script>
<aside class="sidebar">
  <div class="container">
    <div class="sidebar-about">
5
      <a href="/"><h1>{{ .Site.Title }}</h1></a>
Erik Strand's avatar
Erik Strand committed
6
7
8
9
10
11
12
      <p class="lead">
      {{ 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}}
      </p>
    </div>

    <nav>
      <ul class="sidebar-nav">
13
        <li><a href="/">Home</a> </li>
Erik Strand's avatar
Erik Strand committed
14
        {{ range .Site.Menus.main.ByWeight -}}
Erik Strand's avatar
Erik Strand committed
15
16
17
18
19
20
21
22
          <li><a href="{{.URL}}"> {{ .Name }} </a></li>
        {{- end }}
      </ul>
    </nav>

    <p>{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{ now.Format "2006"}}. All rights reserved. {{end}}</p>
  </div>
</aside>