remove authorpage experiment

This commit is contained in:
rra 2022-06-15 08:05:05 +02:00
parent a666b64eb7
commit db2b9aab05
2 changed files with 0 additions and 39 deletions

View File

@ -1,28 +0,0 @@
{{ 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}}

View File

@ -1,11 +0,0 @@
{{ define "main" }}
<h1>Authors</h1>
<ul>
{{ range $name, $taxonomy := .Site.Taxonomies.authors }}
<li><a href="/authors/{{ $name | urlize }}">{{ $name | humanize }} ({{ $taxonomy.Count }})</a></li>
{{end}}
</ul>
{{ end }}