diff options
author | Alan Pearce | 2014-07-20 13:23:22 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-20 13:23:22 +0100 |
commit | 21e00850dcfc1bf5e78d1ba3ddb1d697ee97f4fc (patch) | |
tree | e045eb4d60c198e22a74276b9f8f792586ef1a1f /layouts/partials | |
parent | 7484fa6175386958e177209f8ccafa36edeaa382 (diff) | |
download | hyde-21e00850dcfc1bf5e78d1ba3ddb1d697ee97f4fc.tar.lz hyde-21e00850dcfc1bf5e78d1ba3ddb1d697ee97f4fc.tar.zst hyde-21e00850dcfc1bf5e78d1ba3ddb1d697ee97f4fc.zip |
Remove container div
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/sidebar.html | 62 |
1 files changed, 30 insertions, 32 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index b6ec43d..1497bb2 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,36 +1,34 @@ - <aside class="sidebar" itemprop="author" itemscope itemtype="http://schema.org/Person"> - <div class="container"> - <header class="sidebar-about"> - <h1 itemprop="name">{{ .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> - </header> + <aside class="sidebar container" itemprop="author" itemscope itemtype="http://schema.org/Person"> + <header class="sidebar-about"> + <h1 itemprop="name">{{ .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> + </header> - <nav> - <ul class="sidebar-nav"> - <li><a href="/" itemprop="url">Home</a> </li> - {{ range $key, $value := .Site.Indexes.categories }} - <li> - <a href="/categories/{{ $key | urlize }}/">{{ $key | title }}</a> - </li> - {{ end }} - {{ range .Site.Menus.main }} - <li><a href="{{.Url}}"> {{ .Name }} </a></li> - {{end}} - </ul> - </nav> + <nav> + <ul class="sidebar-nav"> + <li><a href="/" itemprop="url">Home</a> </li> + {{ range $key, $value := .Site.Indexes.categories }} + <li> + <a href="/categories/{{ $key | urlize }}/">{{ $key | title }}</a> + </li> + {{ end }} + {{ range .Site.Menus.main }} + <li><a href="{{.Url}}"> {{ .Name }} </a></li> + {{end}} + </ul> + </nav> - <aside class="contact"> - <h3 class="contact-head">Contact me</h3> - <ul class="contact-list"> - <li><a href="mailto:alan@alanpearce.uk"><span itemprop="email">alan@alanpearce.uk</span></a></li> - <li><a itemprop="url" href="https://twitter.com/alanpearceuk">Twitter</a></li> - </ul> - </aside> + <aside class="contact"> + <h3 class="contact-head">Contact me</h3> + <ul class="contact-list"> + <li><a href="mailto:alan@alanpearce.uk"><span itemprop="email">alan@alanpearce.uk</span></a></li> + <li><a itemprop="url" href="https://twitter.com/alanpearceuk">Twitter</a></li> + </ul> + </aside> - <footer> - Licensed under a <a rel="license" itemprop="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. - </footer> - </div> + <footer> + Licensed under a <a rel="license" itemprop="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. + </footer> </aside> |