Merge pull request 'Add "written by" to blog posts' (#147) from benjaoming/website:blog-author into main
Reviewed-on: https://git.data.coop/data.coop/website/pulls/147
This commit is contained in:
commit
8e66d40f39
3 changed files with 9 additions and 0 deletions
|
@ -25,3 +25,6 @@ other = "delvis"
|
|||
|
||||
[service_url_text]
|
||||
other = "Du kan finde <em>{{.Service_name}}</em> på <a href='{{.Service_url}}'>{{.Service_url}}</a>"
|
||||
|
||||
[blog_post_by]
|
||||
other = "Skrevet af:"
|
||||
|
|
|
@ -15,3 +15,6 @@ other = "our data in our hands"
|
|||
|
||||
[service_url_text]
|
||||
other = "You can find <em>{{.Service_name}}</em> at <a href='{{.Service_url}}'>{{.Service_url}}</a>"
|
||||
|
||||
[blog_post_by]
|
||||
other = "Written by:"
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
<small class="text-secondary">{{ .PublishDate | time.Format ":date_medium" }}</small>
|
||||
{{ partial "tags" . }}
|
||||
|
||||
{{ if .Params.author }}
|
||||
<br><small><em>{{ i18n "blog_post_by" }} {{ .Params.author }}</em></small>
|
||||
{{ end }}
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue