Implement class and title for bottom menu.

This commit is contained in:
tastytea 2021-07-16 22:24:32 +02:00
parent 21221ad721
commit 469bf0881b
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -4,9 +4,9 @@
<ul> <ul>
{{- range .Site.Menus.footer }} {{- range .Site.Menus.footer }}
{{ with .Pre }}{{ . }}{{ end }} {{ with .Pre }}{{ . }}{{ end }}
<li> <li{{ with .Params.class }} class="{{ . }}"{{ end }}>
{{- if .URL }} {{- if .URL }}
<a href="{{ .URL }}">{{ .Name }}</a> <a href="{{ .URL }}"{{ with .Title }} title="{{ . }}"{{ end }}>{{ .Name }}</a>
{{- else }} {{- else }}
{{ .Name }} {{ .Name }}
{{- end }} {{- end }}