Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/it-gro/hugo-theme-w3css-basic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorit-gro <13005925+it-gro@users.noreply.github.com>2019-08-02 17:03:00 +0300
committerit-gro <13005925+it-gro@users.noreply.github.com>2019-08-02 17:03:00 +0300
commit341929c8f6ab15cef871df3987c6e9a0bc147a8e (patch)
tree80e19a638a1c47d5f45b04758cd8d73fdd0c6613
parent5ef4a572ec3bd1aec834bbb7b887132580a5ecac (diff)
wip
-rw-r--r--layouts/partials/header.nav.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.nav.html b/layouts/partials/header.nav.html
index 3da10a7..eda0a5d 100644
--- a/layouts/partials/header.nav.html
+++ b/layouts/partials/header.nav.html
@@ -218,7 +218,7 @@
{{ `<!-- range .Children -->` | safeHTML }}
{{- end}}
{{- range .Children }}
- {{- $myChildrenURL := .Permalink }}
+ {{- $myChildrenURL := .URL }}
{{- if and (and (not (in $myChildrenURL `.html`)) (eq (substr $myChildrenURL 0 1) `/`)) $.Site.Params.uglyURLs }}
{{- $.Scratch.Set `myUglyPostfix` $.Site.Params.uglyUrl }}
{{- else }}