Merge pull request 'remove authorpage experiment (not part of Christophs changes)' (#57) from r/lumbung.space:main into main
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #57
This commit is contained in:
commit
16fb3cc953
@ -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}}
|
|
||||||
|
|
@ -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 }}
|
|
Loading…
Reference in New Issue
Block a user