diff options
Diffstat (limited to 'layouts/_partials')
| -rw-r--r-- | layouts/_partials/footer.gmi | 2 | ||||
| -rw-r--r-- | layouts/_partials/footer.html | 2 | ||||
| -rw-r--r-- | layouts/_partials/head.html | 2 | ||||
| -rw-r--r-- | layouts/_partials/metadata.gmi | 2 | ||||
| -rw-r--r-- | layouts/_partials/metadata.html | 2 | ||||
| -rw-r--r-- | layouts/_partials/pageinfo.gmi | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/layouts/_partials/footer.gmi b/layouts/_partials/footer.gmi index 06b0678..8f036f2 100644 --- a/layouts/_partials/footer.gmi +++ b/layouts/_partials/footer.gmi @@ -1 +1 @@ -{{ replace $.Site.Copyright "{currentYear}" (now.Format "2006") }}
\ No newline at end of file +{{ replace $.Site.Copyright "{currentYear}" (now.Format "2006") -}} diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html index 5f8ffc6..b445ae4 100644 --- a/layouts/_partials/footer.html +++ b/layouts/_partials/footer.html @@ -1,3 +1,3 @@ <footer class="footer"> <p class="footer__text">{{ replace $.Site.Copyright "{currentYear}" (now.Format "2006") }}</p> -</footer>
\ No newline at end of file +</footer> diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index 8487d06..d6b1e5e 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -22,4 +22,4 @@ <link rel="icon" href="data:,"> {{ end }} <title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} - {{ .Site.Title }}{{ end }}</title> -</head>
\ No newline at end of file +</head> diff --git a/layouts/_partials/metadata.gmi b/layouts/_partials/metadata.gmi index 48d3db4..13ad1c7 100644 --- a/layouts/_partials/metadata.gmi +++ b/layouts/_partials/metadata.gmi @@ -1,2 +1,2 @@ {{ partial "pageinfo.gmi" . }} -=> {{ .RelPermalink | strings.TrimSuffix "index.gmi" }} {{ emojify ":link:" }} {{ .Title }}
\ No newline at end of file +=> {{ .RelPermalink | strings.TrimSuffix "index.gmi" }} {{ emojify ":link:" }} {{ .Title -}} diff --git a/layouts/_partials/metadata.html b/layouts/_partials/metadata.html index ed091b8..758b001 100644 --- a/layouts/_partials/metadata.html +++ b/layouts/_partials/metadata.html @@ -3,4 +3,4 @@ <p>{{ partial "pageinfo.html" . }}<br> {{ emojify ":link:" }} <a class="link link--internal" href="{{ .RelPermalink }}" rel="noreferrer">{{ .Title }}</a></p> </header> -</article>
\ No newline at end of file +</article> diff --git a/layouts/_partials/pageinfo.gmi b/layouts/_partials/pageinfo.gmi index f68fa2f..8a5d33e 100644 --- a/layouts/_partials/pageinfo.gmi +++ b/layouts/_partials/pageinfo.gmi @@ -19,4 +19,4 @@ {{ $nonBreakingAudioAvailable = replace $nonBreakingAudioAvailable " " " " -}} {{ $nonBreakingAudioAvailable = replace $nonBreakingAudioAvailable "-" "‑" -}} -{{ emojify ":calendar:" }} {{ $nonBreakingPublishDate }} {{ emojify ":stopwatch:" }} {{ $nonBreakingReadingTime }}{{ if where .Resources "MediaType.MainType" "audio" }} {{ emojify ":headphones:" }} {{ $nonBreakingAudioAvailable }}{{ end }}{{ if $nonBreakingTags }} {{ emojify ":label:" }} {{ end }}{{ range $key, $val := $nonBreakingTags }}{{ if $key }}, {{ end }}{{ $val }}{{ end }}
\ No newline at end of file +{{ emojify ":calendar:" }} {{ $nonBreakingPublishDate }} {{ emojify ":stopwatch:" }} {{ $nonBreakingReadingTime }}{{ if where .Resources "MediaType.MainType" "audio" }} {{ emojify ":headphones:" }} {{ $nonBreakingAudioAvailable }}{{ end }}{{ if $nonBreakingTags }} {{ emojify ":label:" }} {{ end }}{{ range $key, $val := $nonBreakingTags }}{{ if $key }}, {{ end }}{{ $val }}{{ end -}} |
