Fix site layouts after formatting (#1962)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2024-11-07 16:16:24 +02:00
committed by GitHub
parent 02355427b0
commit 2bb1611e1b
12 changed files with 391 additions and 444 deletions

View File

@@ -2,9 +2,9 @@
{{ $isCurrent := eq .Permalink ($currentMenuEntry.URL | absURL | printf "%s") }}
<a $isCurrent end href="{{ $currentMenuEntry.URL }}" if title="{{ $currentMenuEntry.Name }}" {{ {{ }} }}class="current">
{{ $currentMenuEntry.Pre }}
{{ $currentMenuEntry.Name }}
<a {{ if $isCurrent }}class="current"{{ end }} title="{{ $currentMenuEntry.Name }}" href="{{ $currentMenuEntry.URL }}">
{{ $currentMenuEntry.Pre }}
{{ $currentMenuEntry.Name }}
</a>
{{ if $isCurrent }}