aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2018-07-08 22:38:12 +0200
committerÓscar Nájera <hello@oscarnajera.com>2018-07-08 22:38:12 +0200
commitd635c95e698f2294ab8ef7daebc25073fd12efea (patch)
treedb284d0fae7c7503446a46bafee605ec65a2ca6d /layouts
parent884c7caff7d50e3303e956f24d71345c9ed58025 (diff)
downloadhugo-minimalist-theme-d635c95e698f2294ab8ef7daebc25073fd12efea.tar.gz
hugo-minimalist-theme-d635c95e698f2294ab8ef7daebc25073fd12efea.tar.bz2
hugo-minimalist-theme-d635c95e698f2294ab8ef7daebc25073fd12efea.zip
start sidebar
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index fbcce87..93ebfd1 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -18,3 +18,16 @@
</a>
{{ end }}
</nav>
+
+<nav id="sidebar" class="w-25-ns ba">
+ <div class="tc pv4">
+ <a href="/#about" class="">
+ {{ with ($.Scratch.Get "authorPicture") }}
+ <img class="br-100" src="{{ . }}{{ if in . "//www.gravatar.com/avatar/" }}?s=110{{ end }}"/>
+ {{ end }}
+ <h3 class="f3">
+ {{ .Site.Author.name }}
+ </h3>
+ </a>
+ </div>
+</nav>