About info and some improvements to styles and markup

This commit is contained in:
Hazem Krimi
2023-11-23 19:40:11 +01:00
parent 41a5505631
commit 6245182727
10 changed files with 70 additions and 120 deletions
@@ -0,0 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
+11 -9
View File
@@ -17,15 +17,17 @@
<p>These are articles about things I learned about software engineering.</p>
{{ end }}
<section id="tags">
{{ range .Site.Taxonomies.tags }}
<a class="{{ if (eq $currentTitle .Page.Title) }}selected{{ end }}"
href="{{ .Page.Permalink }}"
>
{{ .Page.Title }}
</a>
{{ end }}
</section>
{{ if gt (len .Site.Taxonomies.tags) 0 }}
<section id="tags">
{{ range .Site.Taxonomies.tags }}
<a class="{{ if (eq $currentTitle .Page.Title) }}selected{{ end }}"
href="{{ .Page.Permalink }}"
>
{{ .Page.Title }}
</a>
{{ end }}
</section>
{{ end }}
{{ end }}
{{ if gt .Paginator.TotalPages 0 }}