A tumblelog theme for Hugo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

list.html 356 B

1234567891011121314
  1. {{ define "main" }}
  2. {{ $.Scratch.Set "fa_icon" "fa-tag" }}
  3. {{ if isset .Params "fa_icon" }}
  4. {{ $.Scratch.Set "fa_icon" .Params.fa_icon }}
  5. {{ end }}
  6. <h1><i class="fa {{ $.Scratch.Get "fa_icon" }}"></i>{{ .Title }}</h1>
  7. {{ range .Paginator.Pages }}
  8. {{ .Render "li" }}
  9. {{ end }}
  10. {{ template "_internal/pagination.html" . }}
  11. {{ end }}