Merge pull request 'remove authorpage experiment (not part of Christophs changes)' (#57) from r/lumbung.space:main into main

Reviewed-on: ruangrupa/lumbung.space#57
This commit is contained in:
rra 2022-06-15 08:06:14 +02:00
commit 16fb3cc953
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 }}