[gnomegr-web] .URL should be still supported here
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnomegr-web] .URL should be still supported here
- Date: Fri, 15 Apr 2022 16:03:50 +0000 (UTC)
commit 924576957d6854a7e626d70f43757a05455dc291
Author: Andrea Veri <averi redhat com>
Date: Fri Apr 15 18:03:44 2022 +0200
.URL should be still supported here
themes/deneb-hugo-theme/layouts/partials/nav.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/themes/deneb-hugo-theme/layouts/partials/nav.html
b/themes/deneb-hugo-theme/layouts/partials/nav.html
index 14162a4..a399d43 100644
--- a/themes/deneb-hugo-theme/layouts/partials/nav.html
+++ b/themes/deneb-hugo-theme/layouts/partials/nav.html
@@ -21,13 +21,13 @@
<a class="navlinks-parent" href="javascript:void(0)">{{ .Name }}</a>
<div class="navlinks-children">
{{ range .Children }}
- <a href="{{ "" | relLangURL }}">{{ .Name }}</a>
+ <a href="{{ .URL | relLangURL }}">{{ .Name }}</a>
{{ end }}
</div>
</li>
{{ else }}
<li>
- <a title="{{ .Name }}" href="{{ "" | relLangURL }}">{{ .Name }}</a>
+ <a title="{{ .Name }}" href="{{ .URL | relLangURL }}">{{ .Name }}</a>
</li>
{{ end }}
{{ end }}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]