diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-10-15 23:33:32 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-10-15 23:33:32 +0200 |
commit | c23c5f93cde9f98534f2d89e46739a3d35b6239a (patch) | |
tree | 692b456488f148b7e1b1f26e9b204947fefad79a /layouts/_default | |
parent | 7624fe7007c75a4074b7a257a44cb58f44e03752 (diff) | |
download | hugo-minimalist-theme-c23c5f93cde9f98534f2d89e46739a3d35b6239a.tar.gz hugo-minimalist-theme-c23c5f93cde9f98534f2d89e46739a3d35b6239a.tar.bz2 hugo-minimalist-theme-c23c5f93cde9f98534f2d89e46739a3d35b6239a.zip |
Social links
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/about.html | 17 |
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"> |