Browse Source

add header info to authors/list.html

Alexander Avery 3 weeks ago
parent
commit
7b710f1fd2
  1. 14
      layouts/authors/list.html

14
layouts/authors/list.html

@ -1,4 +1,18 @@
{{ define "main" }} {{ define "main" }}
<section>
{{- with .Resources.GetMatch "avatar" }}
<img class="shadow author" src="{{ .RelPermalink }}" alt="{{ .Params.alt }}"/>
{{- end }}
<div>
<h1>{{ .Params.name }}</h1>
<a href={{ .Params.projects }}>Projects</a>
<span> | </span>
<a href="mailto:{{ .Params.email }}">{{ .Params.email}}</a>
</div>
</section>
{{ .Content }} {{ .Content }}
<section class="author-articles"> <section class="author-articles">
{{- range .Data.Pages }} {{- range .Data.Pages }}

Loading…
Cancel
Save