Skip to content

Commit 2fe77f4

Browse files
author
Thierry Boileau
committed
fix w3 validation check
1 parent 5c2fc9b commit 2fe77f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

themes/restlet-framework/layouts/_partials/documentation/innerNavDynamic.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
{{- $attrs := dict "class" "navigation-list-link" }}
2525

2626
{{- with $page.Pages }}{{/* In case of section, let's link to the first child */}}
27-
{{- $attrs = merge $attrs (dict "href" (index . 0).Permalink) }}
27+
{{- $attrs = merge $attrs (dict "href" (index . 0).RelPermalink) }}
2828
{{- else }}
29-
{{- $attrs = merge $attrs (dict "href" $page.Permalink) }}
29+
{{- $attrs = merge $attrs (dict "href" $page.RelPermalink) }}
3030
{{- end }}
3131

3232
{{- $currentPageActive := (eq $currentPage.Permalink $page.Permalink) }}

0 commit comments

Comments
 (0)