diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index df7d2e35..8237f857 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.3.13-9471b94b" -}} +{{- .Scratch.Set "version" "v0.3.13-581466fd" -}} {{- .Scratch.Set "this" dict -}} {{- partial "init/detection-env.html" . -}} diff --git a/layouts/partials/single/collection-list.html b/layouts/partials/single/collection-list.html index a23414c7..2f0694f2 100644 --- a/layouts/partials/single/collection-list.html +++ b/layouts/partials/single/collection-list.html @@ -21,12 +21,14 @@ {{- range $key, $page := $pages -}} {{- $capitalizeTitles := $page.Param "capitalizeTitles" -}} {{- $title := cond $capitalizeTitles (title $page.LinkTitle) $page.LinkTitle -}} - {{- if $page.LinkTitle | eq $.LinkTitle -}} - {{- $currentKey = $key -}} -
  • {{ $title }}
  • - {{- else }} -
  • {{ $title }}
  • - {{- end }} +
  • + {{- if $.Eq $page -}} + {{- $currentKey = $key -}} + {{ $title }} + {{- else -}} + {{ $title }} + {{- end -}} +
  • {{- end -}}