aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/about.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/about.html')
-rw-r--r--layouts/_default/about.html17
1 files changed, 15 insertions, 2 deletions
diff --git a/layouts/_default/about.html b/layouts/_default/about.html
index 9c4ca2f..4a3a656 100644
--- a/layouts/_default/about.html
+++ b/layouts/_default/about.html
@@ -1,9 +1,22 @@
{{ define "hero" }}
- {{ partial "hero.html" . }}
+ <div
+ style="background: linear-gradient( rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15) ){{ with resources.Get (index .Params.images 0) }}
+ , url('{{ .RelPermalink }}')
+ {{ end }}; background-position: center;"
+ class="pv5"
+ >
+ <div id="hero" class="mw7 center ph2 near-white lh-copy tc">
+ <img src="{{ .Site.Author.avatar }}" class="br-100" />
+ <h1 class="f1 mv1">{{ .Site.Author.name }}</h1>
+ <h2 class="f3 fw3 pa0 ma0">{{ .Site.Author.role }}</h2>
+ <div class="f2">
+ {{ partial "social_links" . }}
+ </div>
+ </div>
+ </div>
{{ end }}
{{ define "main" }}
-
<div class="stripe-dark"></div>
{{ range .Paginator.Pages }}
<div class="stripe-dark">