make copyright more generic ; add support for multi-author in front matter to theme and update all pages to use the new authorship setup
This commit is contained in:
parent
8730f3afd1
commit
7af4b687c1
|
@ -44,7 +44,7 @@ uglyURLs = false
|
|||
|
||||
[params]
|
||||
description = 'A collection of accessibility tips and tricks'
|
||||
footer = '© KemoNine {Year}'
|
||||
footer = '© {Year}'
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
layout: post
|
||||
title: Site Launch
|
||||
author: KemoNine
|
||||
author:
|
||||
- KemoNine
|
||||
publishDate: 2023-03-18
|
||||
lastMod: 2023-03-18
|
||||
toc: false
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
layout: post
|
||||
title: Contributor Guidelines
|
||||
author: KemoNine
|
||||
author:
|
||||
- KemoNine
|
||||
publishDate: 2023-03-20
|
||||
lastMod: 2023-03-20
|
||||
toc: false
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
layout: post
|
||||
title: _Post Template_
|
||||
author: YourName
|
||||
author:
|
||||
- Your Name
|
||||
publishDate: 1900-12-31
|
||||
lastMod: 1900-12-31
|
||||
toc: false
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: _ Example _
|
||||
author: KemoNine
|
||||
author:
|
||||
- KemoNine
|
||||
publishDate: 2023-03-16
|
||||
lastMod: 2023-03-18
|
||||
toc: true
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: _ Tip Template _
|
||||
author: YourName
|
||||
author:
|
||||
- Your Name
|
||||
publishDate: 1900-12-30
|
||||
lastMod: 1900-12-31
|
||||
toc: true
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: _ Contributing _
|
||||
author: KemoNine
|
||||
author:
|
||||
- KemoNine
|
||||
publishDate: 2023-03-20
|
||||
lastMod: 2023-03-20
|
||||
toc: true
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Organizers
|
||||
author: KemoNine
|
||||
author:
|
||||
- KemoNine
|
||||
publishDate: 2023-03-20
|
||||
lastMod: 2023-03-20
|
||||
toc: true
|
||||
|
|
|
@ -1,7 +1,16 @@
|
|||
{{ partial "header.html" . }}
|
||||
<div class="article-meta">
|
||||
<h1><span class="title">{{ .Title | markdownify }}</span></h1>
|
||||
{{ with .Params.author }}<h2 class="author">By: {{ . }}</h2>{{ end }}
|
||||
{{ with .Params.author }}
|
||||
<h3 class="author">By:
|
||||
{{ if (reflect.IsSlice .) }}
|
||||
{{ delimit . ", " }}
|
||||
{{ else }}
|
||||
{{ . }}
|
||||
{{ end }}
|
||||
</h3>
|
||||
{{ end }}
|
||||
|
||||
{{ if (gt .Date 0) }}<h4 class="date">Published: {{ .Date.Format "2006/01/02" }}</h4>{{ end }}
|
||||
{{ if (gt .Lastmod 0) }}<h4 class="date">Last Modified: {{ .Lastmod.Format "2006/01/02" }}</h4>{{ end }}
|
||||
<p class="terms">
|
||||
|
|
Loading…
Reference in a new issue