Updated theme
This commit is contained in:
@@ -1 +1,4 @@
|
||||
<p>Copyright {{ now.Year }}. All rights reserved.</p>
|
||||
<div id="footer">
|
||||
<p>Copyright © {{ now.Year }} by Anne (<a href="mailto:anne@minded.net">anne@minded.net</a>).</p>
|
||||
<p>Feel free to reuse or share under the <a href="https://creativecommons.org/licenses/by-nc-sa/4.0">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 License</a>.</p>
|
||||
</div>
|
||||
|
||||
@@ -12,8 +12,7 @@ For a given taxonomy, renders a list of terms assigned to the page.
|
||||
|
||||
{{- with $page.GetTerms $taxonomy }}
|
||||
{{- $label := (index . 0).Parent.LinkTitle }}
|
||||
<div>
|
||||
<div>{{ $label }}:</div>
|
||||
<div id="tags">
|
||||
<ul>
|
||||
{{- range . }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02" }}
|
||||
{{ $dateHuman := .Date | time.Format "2006-01-02" }}
|
||||
<div id="byline">
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||
</div>
|
||||
|
||||
{{ .Content }}
|
||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user