Einbinden von CustomCSS setzt keine Site-Base mehr davor + kleinere Anpassungen um Leerzeilen zu vermeiden

This commit is contained in:
mdn 2023-01-22 00:47:23 +01:00
parent c14beceef6
commit 631c22e7c6
18 changed files with 134 additions and 146 deletions

View file

@ -1,8 +1,8 @@
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
{{ $dateTimeMod := .Lastmod.Format "2006-01-02" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
{{- $dateTime := .PublishDate.Format "2006-01-02" -}}
{{- $dateTimeMod := .Lastmod.Format "2006-01-02" -}}
{{- $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" -}}
<i data-feather="calendar"></i>
<time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
<i data-feather="user"></i>
{{ .Page.Params.Author }}
{{- .Page.Params.Author -}}
<span class="badge bg-secondary"><time datetime="{{ $dateTimeMod }}">{{ .Lastmod.Format $dateFormat }}</time></span>

View file

@ -1,5 +1,5 @@
{{ $tagsIdent := .Site.Params.Blog.Tags | default "tags" }}
{{- $tagsIdent := .Site.Params.Blog.Tags | default "tags" -}}
{{- partial "taxonomy/metatag.html" (dict "Params" .Params "Ident" $tagsIdent "Feather" "tag") -}}
{{ $catIdent := .Site.Params.Blog.Categories | default "categories" }}
{{- $catIdent := .Site.Params.Blog.Categories | default "categories" -}}
{{- partial "taxonomy/metatag.html" (dict "Params" .Params "Ident" $catIdent "Feather" "award") -}}

View file

@ -1,2 +1,2 @@
{{ $skillIdent := .Site.Params.KnowHow.Skills | default "skills" }}
{{- $skillIdent := .Site.Params.KnowHow.Skills | default "skills" -}}
{{- partial "taxonomy/metatag.html" (dict "Params" .Params "Ident" $skillIdent "Feather" "code") -}}