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" }}
- {{ .Summary | safeHTML}}
-
+ {{ .Summary | plainify}}
{{ i18n "read_more" }}
+
{{ 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 }}
+
- {{ 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 }}
+