Merge pull request 'Add authors to taxonomies' (#53) 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: #53
This commit is contained in:
commit
0acf2a3b6a
@ -13,3 +13,8 @@ pluralizeListTitles = "false"
|
|||||||
|
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
unsafe = true
|
unsafe = true
|
||||||
|
|
||||||
|
[taxonomies]
|
||||||
|
author = "authors"
|
||||||
|
tag = "tags"
|
||||||
|
category = "categories"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="network-source"><span class="from p-author">From {{ if .Params.author }}<b>{{.Params.author}}</b> at {{ end }}<a href="{{ "/categories/" | relLangURL }}{{ .Params.feed_name | urlize }}">{{ .Params.feed_name }}</a></span></div>
|
<div class="network-source"><span class="from p-author">From {{ if .Params.authors }}<b>{{range .Params.authors}} {{.}} {{end}}</b> at {{ end }}<a href="{{ "/categories/" | relLangURL }}{{ .Params.feed_name | urlize }}">{{ .Params.feed_name }}</a></span></div>
|
||||||
{{ with (index (.Resources.ByType "image") 0) }}
|
{{ with (index (.Resources.ByType "image") 0) }}
|
||||||
{{ $height := add .Height 0.0}}
|
{{ $height := add .Height 0.0}}
|
||||||
{{ $ratio := div $height .Width}}
|
{{ $ratio := div $height .Width}}
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
<footer class='post-footer'>
|
<footer class='post-footer'>
|
||||||
<div class='footer-metadata'>
|
<div class='footer-metadata'>
|
||||||
<span class="from p-author">From {{ if .Params.author }}<b>{{.Params.author}}</b> on{{ end }}</span>
|
<span class="from p-author">From {{ if .Params.authors }}<b>{{range .Params.authors}} {{.}} {{end}}</b> on{{ end }}</span>
|
||||||
<time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time>
|
<time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time>
|
||||||
</div>
|
</div>
|
||||||
{{ if .Truncated }}
|
{{ if .Truncated }}
|
||||||
|
Loading…
Reference in New Issue
Block a user