Implement class and title for bottom menu.
This commit is contained in:
parent
21221ad721
commit
469bf0881b
|
@ -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 }}
|
||||||
|
|
Reference in New Issue
Block a user