Browse Source

adjust author page header

Alexander Avery 5 months ago
parent
commit
f16dd97f4d
  1. 16
      layouts/authors/list.html

16
layouts/authors/list.html

@ -1,16 +1,18 @@
{{ define "main" }} {{ define "main" }}
<section> <section class="left-to-right">
{{ with .Resources.GetMatch "avatar" }} {{ with .Resources.GetMatch "avatar" }}
<img class="shadow featured" src="{{ .RelPermalink }}" alt="{{ .Params.alt }}"/> <img class="shadow featured" src="{{ .RelPermalink }}" alt="{{ .Params.alt }}"/>
{{ end }} {{ end }}
<h1>{{ .Params.name }}</h1> <div>
<p>{{ .Params.bio }}</p> <h1>{{ .Params.name }}</h1>
<p>{{ .Params.bio }}</p>
<a class="small-text" href={{ .Params.projects}}>Projects</a> <a class="small-text" href={{ .Params.projects}}>Projects</a>
<span> | </span> <span> | </span>
<a class="small-text" href="mailto:{{ .Params.email }}">{{ .Params.email}}</a> <a class="small-text" href="mailto:{{ .Params.email }}">{{ .Params.email}}</a>
</div>
</section> </section>

Loading…
Cancel
Save