diff options
author | spf13 <steve.francia@gmail.com> | 2014-05-23 16:44:37 -0400 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-05-23 16:44:37 -0400 |
commit | 9989bda110761c73591d6aecfd2a57c50df9290f (patch) | |
tree | b316a27d5a069f11a09894a2bc7bbd00813ddbd4 /layouts/partials/sidebar.html | |
parent | 7e7e3ff3ab21767e1054da8841cda8015c4aabd6 (diff) |
renaming chrome to partials
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r-- | layouts/partials/sidebar.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html new file mode 100644 index 0000000..b199a6b --- /dev/null +++ b/layouts/partials/sidebar.html @@ -0,0 +1,19 @@ +<div class="sidebar"> + <div class="container sidebar-sticky"> + <div class="sidebar-about"> + <h1>{{ .Site.Title }}</h1> + <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> + + <ul class="sidebar-nav"> + <li><a href="/">Home</a> </li> + {{ range .Site.Menus.main }} + <li><a href="{{.Url}}"> {{ .Name }} </a></li> + {{end}} + </ul> + + <p>{{ with .Site.Params.Copyright }}{{.}}{{ else }}© {{.Now.Format "2006"}}. All rights reserved. {{end}}</p> + </div> +</div> |