{{ define "main" }}
  <h1>{{ .Title }}</h1>
  {{ range .Paginator.Pages }}
    {{ .Render "li" }}
  {{ end }}
  {{ template "_internal/pagination.html" . }}
{{ end }}


{{ define "main" }}
  {{ $.Scratch.Set "fa_icon" "fa-tag" }}

  {{ if isset .Params "fa_icon" }}
    {{ $.Scratch.Set "fa_icon" .Params.fa_icon }}
  {{ end }}

  <h1><i class="fa {{ $.Scratch.Get "fa_icon" }}"></i>{{ .Title }}</h1>
  {{ range .Paginator.Pages }}
    {{ .Render "li" }}
  {{ end }}
  {{ template "_internal/pagination.html" . }}
{{ end }}


Allow custom icons to be set per tag
Allow custom icons to be set per tag

Create a file for each tag that needs a custom icon eg:

/content/tags/favourites/_index.md

containing:

---
fa_icon: fa-heart
title: Favourites
---
