feat: allow for rel=me in footer links
This commit is contained in:
parent
882cab943a
commit
1b64fa721e
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<footer>
|
||||
<p>© {{ now.Year }} <a href="{{ .Site.BaseURL }}"><b>{{ if .Site.Copyright }}{{ .Site.Copyright }}{{ else }}{{ .Site.Title }}{{ end }}</b></a> .
|
||||
{{- range $i, $e := .Site.Menus.footer }}
|
||||
<a href="{{ $e.URL }}"><b>{{ $e.Name }}</b></a>{{ if ne (sub (len $.Site.Menus.footer) 1) $i }} . {{ end }}
|
||||
<a {{ if $e.Params.Rel }}rel="{{ $e.Params.Rel }}" {{ end -}} href="{{ $e.URL }}"><b>{{ $e.Name }}</b></a>{{ if ne (sub (len $.Site.Menus.footer) 1) $i }} . {{ end }}
|
||||
{{- end }}
|
||||
</p>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in a new issue