summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-03-26 13:50:17 +0100
committerMateja <mail@matejamaric.com>2021-03-26 13:50:17 +0100
commitc2315bccc5f3f25e378d549cd17da93c6b6c8a96 (patch)
tree5f3654d4850bbb295d3d4199e562385543adc1ba /layouts/_default/baseof.html
parent3b0f0e86b8f012ed71bd3f652369b9d5d8a352b0 (diff)
parent47f5fbe92a7a5cc8f9906927e73527d278d2b542 (diff)
downloadblog-c2315bccc5f3f25e378d549cd17da93c6b6c8a96.tar.gz
blog-c2315bccc5f3f25e378d549cd17da93c6b6c8a96.zip
Merge branch 'main' of github.com:MatejaMaric/blog into main
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html20
1 files changed, 9 insertions, 11 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 694d8a0..56e582c 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -5,12 +5,10 @@
<meta name="yandex-xverification" content="fc9dd63070a12909">
<meta charset="UTF-8" />
<meta author="Mateja Maric" />
-
- <!--<meta name="description"-->
- <!--content="I am Mateja Maric and this is my personal web site. I am a student from Belgrade, Serbia. I am primarily interested in Unix-like operating systems and free(as in freedom) software.">-->
- <!--<meta name="keywords" content="mateja, maric, homepage, site, blog, contact">-->
- <!--<link rel="canonical" href="https://matejamaric.com" />-->
-
+ {{ if .Description }}
+ <meta name="description" content="{{ .Description }}">
+ {{ end }}
+ <link rel="canonical" href="{{ .Permalink }}" />
<meta name="viewport" content="width=device-width initial-scale=1.0" />
<link href="/style.css" rel="stylesheet" type="text/css" />
<title>{{ .Title }}</title>
@@ -19,11 +17,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 }}