diff options
-rw-r--r-- | layouts/_default/single.gmi | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/index.gmi | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.gmi | 2 | ||||
-rw-r--r-- | layouts/partials/metadata.gmi | 2 | ||||
-rw-r--r-- | layouts/partials/metadata.html | 2 | ||||
-rw-r--r-- | layouts/partials/pageinfo.html | 2 | ||||
-rw-r--r-- | layouts/taxonomy/taxonomy.gmi | 2 | ||||
-rw-r--r-- | layouts/taxonomy/taxonomy.html | 2 | ||||
-rw-r--r-- | layouts/term/term.gmi | 2 | ||||
-rw-r--r-- | layouts/term/term.html | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index b145439..3f31051 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -85,4 +85,4 @@ {{- end }} {{- end }} -{{- end }} +{{- end }}
\ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7486597..52e7ad4 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,4 +8,4 @@ <h1 id="{{ .File.TranslationBaseName }}">{{ .Name }}</h1> {{ .Content -}} </main> -{{- end }} +{{- end }}
\ No newline at end of file diff --git a/layouts/index.gmi b/layouts/index.gmi index 8ace600..ea867d2 100644 --- a/layouts/index.gmi +++ b/layouts/index.gmi @@ -18,4 +18,4 @@ {{ range last 1 (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse -}} {{ partial "metadata.gmi" . -}} {{ end -}} -{{ end }} +{{ end }}
\ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 870c22b..e42e751 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -19,4 +19,4 @@ {{ partial "metadata.html" . -}} {{ end -}} </main> -{{- end }} +{{- end }}
\ No newline at end of file diff --git a/layouts/partials/footer.gmi b/layouts/partials/footer.gmi index cb45be3..338e88e 100644 --- a/layouts/partials/footer.gmi +++ b/layouts/partials/footer.gmi @@ -1 +1 @@ -{{ replace $.Site.Copyright "{currentYear}" (now.Format "2006") | safeHTML }} +{{ replace $.Site.Copyright "{currentYear}" (now.Format "2006") | safeHTML }}
\ No newline at end of file diff --git a/layouts/partials/metadata.gmi b/layouts/partials/metadata.gmi index 5c137bf..1f8f513 100644 --- a/layouts/partials/metadata.gmi +++ b/layouts/partials/metadata.gmi @@ -1,2 +1,2 @@ {{- partial "pageinfo.gmi" . }} -=> {{ .RelPermalink | replaceRE `(?m)index.gmi` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} +=> {{ .RelPermalink | replaceRE `(?m)index.gmi` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }}
\ No newline at end of file diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index ea9712a..47106e8 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" href="{{ .RelPermalink }}" rel="noreferrer">{{ .Title }}</a></p> </header> -</article> +</article>
\ No newline at end of file diff --git a/layouts/partials/pageinfo.html b/layouts/partials/pageinfo.html index a65136a..7378049 100644 --- a/layouts/partials/pageinfo.html +++ b/layouts/partials/pageinfo.html @@ -1,2 +1,2 @@ {{ $dateFormat := .Site.Params.dateFormat | default ":date_long" -}} -{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate | time.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ i18n "readingTime" .ReadingTime | safeHTML }}{{ if (.Param (lower (i18n "tags"))) }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := (.Param (lower (i18n "tags"))) }}{{ if $key }}, {{ end }}<a class="link" href='{{ relLangURL (lower (i18n "tags")) }}/{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }} +{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate | time.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ i18n "readingTime" .ReadingTime | safeHTML }}{{ if (.Param (lower (i18n "tags"))) }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := (.Param (lower (i18n "tags"))) }}{{ if $key }}, {{ end }}<a class="link" href='{{ relLangURL (lower (i18n "tags")) }}/{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }}
\ No newline at end of file diff --git a/layouts/taxonomy/taxonomy.gmi b/layouts/taxonomy/taxonomy.gmi index ecca4d8..63f7163 100644 --- a/layouts/taxonomy/taxonomy.gmi +++ b/layouts/taxonomy/taxonomy.gmi @@ -10,4 +10,4 @@ {{- range .Data.Pages }} => {{ .RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} {{- end }} -{{- end }} +{{- end }}
\ No newline at end of file diff --git a/layouts/taxonomy/taxonomy.html b/layouts/taxonomy/taxonomy.html index 68b4fb5..51e00a3 100644 --- a/layouts/taxonomy/taxonomy.html +++ b/layouts/taxonomy/taxonomy.html @@ -13,4 +13,4 @@ {{- end }} </ul> </main> -{{- end }} +{{- end }}
\ No newline at end of file diff --git a/layouts/term/term.gmi b/layouts/term/term.gmi index fd8db55..7b4520a 100644 --- a/layouts/term/term.gmi +++ b/layouts/term/term.gmi @@ -14,4 +14,4 @@ {{ range last 1 .Data.Pages.ByPublishDate.Reverse -}} {{ partial "metadata.gmi" . -}} {{ end -}} -{{ end }} +{{ end }}
\ No newline at end of file diff --git a/layouts/term/term.html b/layouts/term/term.html index f4ff365..89d31b5 100644 --- a/layouts/term/term.html +++ b/layouts/term/term.html @@ -11,4 +11,4 @@ {{ partial "metadata.html" . -}} {{- end -}} </main> -{{- end }} +{{- end }}
\ No newline at end of file |