about summary refs log tree commit diff stats
path: root/layouts/partials/sidebar.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r--layouts/partials/sidebar.html31
1 files changed, 21 insertions, 10 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 162fcad..c8fa089 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -1,11 +1,21 @@
-<aside class="sidebar">
-  <div class="container sidebar-sticky">
-    <div class="sidebar-about">
-      <a href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a>
-      <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}}
+  <aside class="sidebar container">
+    <header class="sidebar-about h-card vcard p-author">
+      {{ if (isset .Site.Author "image") -}}
+      <a class="u-url u-uid" rel="me" href="{{ .Site.BaseURL }}">
+        <img class="u-photo" src="{{ .Site.Author.image }}" width=128 height=128 />
+      </a>
+      {{ end -}}
+
+      {{ if eq .Title .Site.Title -}}
+      <h1 class="site-title u-name fn">{{ .Site.Title }}</h1>
+      {{ else -}}
+      <span class="site-title u-name fn">{{ .Site.Title }}</span>
+      {{ end -}}
+
+      <p class="lead p-note">
+        {{ 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>
+    </header>
 
     <nav>
       <ul class="sidebar-nav">
@@ -16,6 +26,7 @@
       </ul>
     </nav>
 
-    <p>{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{ now.Format "2006"}}. All rights reserved. {{end}}</p>
-  </div>
-</aside>
+    <footer>
+        Licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
+    </footer>
+  </aside>