changes config
This commit is contained in:
parent
ca100ab3ff
commit
4ab9c2663b
11 changed files with 1301 additions and 1321 deletions
|
@ -39,7 +39,15 @@
|
|||
<a
|
||||
href="{{ .URL }}"
|
||||
class="link">
|
||||
{{ .Name}}
|
||||
{{ $title := .Title }}
|
||||
{{ with (index site.Params .Identifier) }}
|
||||
{{ if isset . "title" }}
|
||||
{{ $title = .Title }}
|
||||
{{ else }}
|
||||
{{ $title = . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $title }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
@ -50,7 +58,15 @@
|
|||
<a
|
||||
href="{{ .URL }}"
|
||||
class="link">
|
||||
{{ .Name }}
|
||||
{{ $title := .Title }}
|
||||
{{ with (index site.Params .Identifier) }}
|
||||
{{ if isset . "title" }}
|
||||
{{ $title = .Title }}
|
||||
{{ else }}
|
||||
{{ $title = . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $title }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
|
@ -32,7 +32,17 @@
|
|||
<div class="header-nav-item">
|
||||
<a
|
||||
href="{{ .URL }}"
|
||||
class="link{{ if .Params.customClass }} {{ .Params.customClass }}{{ end }}">{{ .Title }}</a>
|
||||
class="link{{ if .Params.customClass }} {{ .Params.customClass }}{{ end }}">
|
||||
{{ $title := .Title }}
|
||||
{{ with (index site.Params .Identifier) }}
|
||||
{{ if isset . "title" }}
|
||||
{{ $title = .Title }}
|
||||
{{ else }}
|
||||
{{ $title = . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $title }}
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue