lumbung.space/themes/lumbung-theme/layouts/authors/list.html

29 lines
465 B
HTML
Raw Normal View History

2022-06-15 05:39:59 +00:00
{{ define "main" }}
<h1>{{ .Params.title }}</h1>
<img src="{{ .Params.photo }}" height="200px" alt=""/>
<h2>Bio</h2>
{{ .Content }}
{{ with .Params.twitter }}
<p>
<a href="https://twitter.com/{{ substr . 1 }}">
Follow {{ $.Params.name }} on Twitter
</a>
</p>
{{ end }}
<h2>Posts by {{ .Params.title }}</h2>
<ul>
{{ range .Pages }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ .Render "summary"}}
{{ end }}
</ul>
{{end}}