diff options
author | Julien Dessaux | 2021-08-16 12:35:32 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-08-16 12:35:32 +0200 |
commit | 78a6f5505d585fae4d32ae53304f7a1981263f4b (patch) | |
tree | f06b13877272ee11f6e6b4e115263326da4200f2 /layouts/partials/nav.html | |
parent | Fix w3c css validator errors and updated fonts (diff) | |
download | www-78a6f5505d585fae4d32ae53304f7a1981263f4b.tar.gz www-78a6f5505d585fae4d32ae53304f7a1981263f4b.tar.bz2 www-78a6f5505d585fae4d32ae53304f7a1981263f4b.zip |
Switched to a solarized color scheme
Diffstat (limited to 'layouts/partials/nav.html')
-rw-r--r-- | layouts/partials/nav.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index f54ae38..97f494e 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -12,8 +12,8 @@ {{- end -}} {{- $url := urls.Parse .URL -}} {{- $baseurl := urls.Parse $.Site.Params.Baseurl -}} - <li> - <a{{if $active }} class="nav-menu-active"{{end}} href="{{ with .Page }}{{ .RelPermalink }}{{ else }}{{ .URL | relLangURL }}{{ end }}"{{ if ne $url.Host $baseurl.Host }}target="_blank" {{ end }}>{{ .Name }}</a> + <li{{if $active }} class="nav-menu-active"{{end}}> + <a href="{{ with .Page }}{{ .RelPermalink }}{{ else }}{{ .URL | relLangURL }}{{ end }}"{{ if ne $url.Host $baseurl.Host }}target="_blank" {{ end }}>{{ .Name }}</a> </li> {{ end }} </ul> |