diff --git a/layouts/blogibis/list.html b/layouts/blogibis/list.html index 60a34d6..65ba936 100644 --- a/layouts/blogibis/list.html +++ b/layouts/blogibis/list.html @@ -43,13 +43,10 @@

- {{ .Summary | safeHTML}} -
+ {{ .Summary | plainify}} {{ i18n "read_more" }}

- {{ i18n "publishdate"}} : {{.PublishDate.Format "2006-01-02"}} | {{ i18n "lastchange"}} : {{.Lastmod.Format "2006-01-02"}} - {{ partial "partials/widgets/ibiscattags.html" . }}
diff --git a/layouts/blogspot/list.html b/layouts/blogspot/list.html index 348bb69..0ecc6e5 100644 --- a/layouts/blogspot/list.html +++ b/layouts/blogspot/list.html @@ -42,13 +42,10 @@

- {{ .Summary | safeHTML}} -
+ {{ .Summary | plainify}} {{ i18n "read_more" }}

- {{ i18n "publishdate"}} : {{.PublishDate.Format "2006-01-02"}} | {{ i18n "lastchange"}} : {{.Lastmod.Format "2006-01-02"}} - {{ partial "partials/widgets/spotcattags.html" . }}
diff --git a/layouts/partials/widgets/ibiscattags.html b/layouts/partials/widgets/ibiscattags.html index c7fd926..6e2952e 100644 --- a/layouts/partials/widgets/ibiscattags.html +++ b/layouts/partials/widgets/ibiscattags.html @@ -1,21 +1,15 @@

+ {{ if isset .Params "categoriesibis" }} - {{ i18n "categories" }} : {{ $len := (sub (len .Params.categoriesibis) 1)}} {{ range $key, $name := .Params.categoriesibis }} {{ $pagepath := $name | urlize | lower | printf "%s%s" "/categoriesibis/"}} {{ $p := $.Site.GetPage $pagepath}} - - {{ $p.Title }} - {{ if ne $key $len }} | {{ else }}{{ end }} + {{ $p.Title }} | {{ end }} - {{ end }} {{ if isset .Params "tagsibis" }} -
- - {{ i18n "tags" }} : {{ $len := (sub (len .Params.tagsibis) 1)}} {{ range $key, $name := .Params.tagsibis }} {{ $pagepath := $name | urlize | lower | printf "%s%s" "/tagsibis/"}} @@ -24,6 +18,6 @@ {{ $p.Title }} {{ if ne $key $len }} | {{ else }}{{ end }} {{ end }} - {{ end }} +

\ No newline at end of file diff --git a/layouts/partials/widgets/spotcattags.html b/layouts/partials/widgets/spotcattags.html index f29fbc4..235bc71 100644 --- a/layouts/partials/widgets/spotcattags.html +++ b/layouts/partials/widgets/spotcattags.html @@ -1,29 +1,22 @@

- {{ if isset .Params "categoriesspot" }} - {{ i18n "categories" }} : + + {{ if isset .Params "categoriesspot" }} {{ $len := (sub (len .Params.categoriesspot) 1)}} {{ range $key, $name := .Params.categoriesspot }} {{ $pagepath := $name | urlize | lower | printf "%s%s" "/categoriesspot/"}} {{ $p := $.Site.GetPage $pagepath}} - - {{ $p.Title }} - {{ if ne $key $len }} | {{ else }}{{ end }} + {{ $p.Title }} | {{ end }} - {{ end }} {{ if isset .Params "tagsspot" }} -
- - {{ i18n "tags" }} : {{ $len := (sub (len .Params.tagsspot) 1)}} {{ range $key, $name := .Params.tagsspot }} {{ $pagepath := $name | urlize | lower | printf "%s%s" "/tagsspot/"}} {{ $p := $.Site.GetPage $pagepath}} - {{ $p.Title }} {{ if ne $key $len }} | {{ else }}{{ end }} {{ end }} - {{ end }} +

\ No newline at end of file