diff options
author | Mateja <mail@matejamaric.com> | 2021-01-29 00:17:38 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-01-29 00:17:38 +0100 |
commit | 2d46defaae5cffb48ecdd4f501453a0c39239039 (patch) | |
tree | 9de18dd5ada603d03cd445c14c7ac96eb68faeb1 /layouts/_default/baseof.html | |
parent | fad5048739420150a4bd0eab724c4544bcc8a444 (diff) | |
download | blog-2d46defaae5cffb48ecdd4f501453a0c39239039.tar.gz blog-2d46defaae5cffb48ecdd4f501453a0c39239039.zip |
Disable taxonomies and use newer syntax.
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 694d8a0..9805f8a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -19,11 +19,11 @@ <body> <nav> <div class="mm">Mateja Maric</div> - <a class="{{ if eq .URL `/`}}active{{ end }}" href="/">Home</a> - <a class="{{ if eq .URL `/blog/`}}active{{ end }}" href="/blog/">Blog</a> - <a href="https://github.com/MatejaMaric">GitHub</a> - <a href="https://git.matejamaric.com">Git server</a> - <a class="{{ if eq .URL `/contact/`}}active{{ end }}" href="/contact/">Contact</a> + <a {{ if eq .RelPermalink "/" }} class="active" {{ end }} href="/">Home</a> + <a {{ if eq .RelPermalink "/blog/" }} class="active" {{ end }} href="/blog/">Blog</a> + <a target="_blank" href="https://github.com/MatejaMaric">GitHub</a> + <a target="_blank" href="https://git.matejamaric.com">Git server</a> + <a {{ if eq .RelPermalink "/contact/" }} class="active" {{ end }} href="/contact/">Contact</a> </nav> <main> {{ block "main" . }}{{ end }} |