Tags, rss, sitemap and robots.txt

This commit is contained in:
Hazem Krimi
2023-11-17 18:49:54 +01:00
parent 5ea292e909
commit 4598a12887
11 changed files with 92 additions and 15 deletions
+16 -4
View File
@@ -5,12 +5,24 @@
<nav aria-label="breadcrumb" class="breadcrumb">
<ol>
{{ range .Ancestors.Reverse }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ if (eq .Title "Tags") }}
<li>
<a href="{{ urls.JoinPath .Site.BaseURL "blog" }}">Blog</a>
</li>
{{ else }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
{{ end }}
<li class="active">
<a aria-current="page" href="{{ .Permalink }}">{{ .Title }}</a>
<a
aria-current="page"
class="{{ if (eq .Parent.Title "Tags") }}tag{{ end }}"
href="{{ .Permalink }}"
>
{{ if (eq .Parent.Title "Tags") }}#{{ end }}{{ .Title }}
</a>
</li>
</ol>
</nav>
+1 -1
View File
@@ -20,7 +20,7 @@
<a href="https://github.com/hazemKrimi" target="_blank">
{{ readFile "assets/icons/github.svg" | safeHTML }}
</a>
<a href="/" target="_blank">
<a href="{{ urls.JoinPath .Site.BaseURL "index.xml" }}" target="_blank">
{{ readFile "assets/icons/rss.svg" | safeHTML }}
</a>
<a href="mailto:me@hazemkrimi.tech" target="_blank">
+2 -2
View File
@@ -21,7 +21,7 @@
<a href="https://www.linkedin.com/in/hazemkrimi" target="_blank"> {{ readFile "assets/icons/linkedin.svg" | safeHTML }} </a>
<a href="https://twitter.com/HazemKrimi" target="_blank"> {{ readFile "assets/icons/twitter.svg" | safeHTML }} </a>
<a href="https://github.com/hazemKrimi" target="_blank"> {{ readFile "assets/icons/github.svg" | safeHTML }} </a>
<a href="/" target="_blank"> {{ readFile "assets/icons/rss.svg" | safeHTML }} </a>
<a href="{{ urls.JoinPath .Site.BaseURL "index.xml" }}" target="_blank"> {{ readFile "assets/icons/rss.svg" | safeHTML }} </a>
<a href="mailto:me@hazemkrimi.tech" target="_blank"> {{ readFile "assets/icons/mail.svg" | safeHTML }} </a>
<a href="{{ $cv.Permalink }}" target="_blank"> {{ readFile "assets/icons/cv.svg" | safeHTML }} </a>
<div class="vertical-separator"></div>
@@ -56,7 +56,7 @@
</span>
<a href="{{ $cv.Permalink }}" target="_blank"> {{ readFile "assets/icons/cv.svg" | safeHTML }} </a>
<a href="mailto:me@hazemkrimi.tech" target="_blank"> {{ readFile "assets/icons/mail.svg" | safeHTML }} </a>
<a href="/" target="_blank"> {{ readFile "assets/icons/rss.svg" | safeHTML }} </a>
<a href="{{ urls.JoinPath .Site.BaseURL "index.xml" }}" target="_blank"> {{ readFile "assets/icons/rss.svg" | safeHTML }} </a>
<a href="https://github.com/hazemKrimi" target="_blank"> {{ readFile "assets/icons/github.svg" | safeHTML }} </a>
<a href="https://twitter.com/HazemKrimi" target="_blank"> {{ readFile "assets/icons/twitter.svg" | safeHTML }} </a>
<a href="https://www.linkedin.com/in/hazemkrimi" target="_blank"> {{ readFile "assets/icons/linkedin.svg" | safeHTML }} </a>