diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 163cf44..0b5c15b 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,11 @@ {{ define "main" }} -

{{ .Title }}

+ {{ $.Scratch.Set "fa_icon" "fa-tag" }} + + {{ if isset .Params "fa_icon" }} + {{ $.Scratch.Set "fa_icon" .Params.fa_icon }} + {{ end }} + +

{{ .Title }}

{{ range .Paginator.Pages }} {{ .Render "li" }} {{ end }}