diff --git a/layouts/_default/li-next.html b/layouts/_default/li-next.html index eb8082d..19a8ecd 100644 --- a/layouts/_default/li-next.html +++ b/layouts/_default/li-next.html @@ -17,7 +17,7 @@
{{ if (isset .Params "description") }}{{ index .Params "description" }}{{ else }}{{ .Summary }}{{ end }}
Posted
-{{ range .Params.categories }}#{{ . }} {{ end }}
+ {{ if (isset .Params "categories") }}{{ range .Params.categories }}#{{ . }} {{ end }}
{{ end }}{{ if (isset .Params "description") }}{{ index .Params "description" }}{{ else }}{{ .Summary }}{{ end }}
Posted
-{{ range .Params.categories }}#{{ . }} {{ end }}
+ {{ if (isset .Params "categories") }}{{ range .Params.categories }}#{{ . }} {{ end }}
{{ end }}