fixed target
This commit is contained in:
parent
ad92d3522b
commit
13c8db759b
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
{{ range .Site.Menus.main }}
|
||||
{{ $name := lower .Name }}
|
||||
<li class="pull-left {{ if eq $name $title }}current{{ else if eq $section $name }}current{{ else if eq $title (pluralize $name) }}current{{ end }}">
|
||||
<a href="{{ .URL }}" target="{{ if gt .Weight 2 }}_blank{{ end }}">~/{{ lower .Name }}</a>
|
||||
<a href="{{ .URL }}" target="{{ if gt .Weight 3 }}_blank{{ end }}">~/{{ lower .Name }}</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue