github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/docs/themes/hugo-theme-relearn/layouts/partials/content-footer.html (about) 1 {{- $LastModifierDisplayName := "" }} 2 {{- $LastModifierEmail := "" }} 3 {{- $Date := "" }} 4 {{- with .GitInfo }} 5 {{- with .AuthorName }} 6 {{- $LastModifierDisplayName = . }} 7 {{- end }} 8 {{- with .AuthorEmail }} 9 {{- $LastModifierEmail = . }} 10 {{- end }} 11 {{- with .AuthorDate }} 12 {{- $Date = . | time.Format ":date_medium" }} 13 {{- end }} 14 {{- else }} 15 {{- with .Params.LastModifierDisplayName }} 16 {{- $LastModifierDisplayName = . }} 17 {{- end }} 18 {{- with .Params.LastModifierEmail }} 19 {{- $LastModifierEmail = . }} 20 {{- end }} 21 {{- with .Date }} 22 {{- $Date = . | time.Format ":date_medium" }} 23 {{- end }} 24 {{- end }} 25 {{- if $LastModifierDisplayName }} 26 <i class='fa-fw fas fa-user'></i> {{ with $LastModifierEmail }}<a href="mailto:{{ . }}">{{ end }}{{ $LastModifierDisplayName }}{{ with $LastModifierEmail }}</a>{{ end }} 27 {{- with $Date }} 28 <i class='fa-fw fas fa-calendar'></i> {{ . }} 29 {{- end }} 30 {{- end }} 31 {{- partial "term-list.html" (dict 32 "page" . 33 "taxonomy" "categories" 34 "icon" "layer-group" 35 ) }}