This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<li class="active {{ cond .IsNode "directory" "file" }}">
|
<li class="active {{ cond .IsNode "directory" "file" }}">
|
||||||
<a aria-current="page" href="" title="{{ .Title }}">{{ .LinkTitle }}</a>
|
<a aria-current="page" href="{{ .RelPermalink }}" title="{{ .Title }}">{{ .LinkTitle }}</a>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -28,11 +28,9 @@
|
|||||||
<a class="{{ with $page.Params.class -}}{{ . }}{{ end }}"
|
<a class="{{ with $page.Params.class -}}{{ . }}{{ end }}"
|
||||||
{{ if and .currentPage (.currentPage.Eq $page) }}
|
{{ if and .currentPage (.currentPage.Eq $page) }}
|
||||||
aria-current="page"
|
aria-current="page"
|
||||||
href=""
|
|
||||||
{{ else }}
|
|
||||||
href="{{ $page.RelPermalink }}"
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
title="{{ $page.Title }}">{{ or .linkTitle (print
|
href="{{ $page.RelPermalink }}"
|
||||||
$page.File.BaseFileName "." $page.File.Ext) $page.LinkTitle }}</a>
|
title="{{ $page.Title }}">{{ or .linkTitle (print
|
||||||
|
$page.File.BaseFileName "." $page.File.Ext) $page.LinkTitle }}</a>
|
||||||
</span>
|
</span>
|
||||||
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}
|
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}
|
||||||
|
|||||||
Reference in New Issue
Block a user