Better vw images; add header links

This commit is contained in:
Ariejan de Vroom 2022-08-04 09:39:09 +02:00
parent fb1aef5c7b
commit 1cbb895c08
Signed by: ariejan
GPG Key ID: AD739154F713697B
5 changed files with 26 additions and 3 deletions

View File

@ -25,7 +25,7 @@ enableGitInfo = true
[markup] [markup]
[markup.goldmark] [markup.goldmark]
[markup.goldmark.renderer] [markup.goldmark.renderer]
unsafe = true unsafe = true
[params] [params]
author = "Ariejan de Vroom" author = "Ariejan de Vroom"

View File

@ -116,7 +116,7 @@ When looking at an online scrap parts site, I found a replacement light switch f
{{< gallery-view >}} {{< gallery-view >}}
{{< lightbox-img src="damaged_light_switch.jpg" lightbox="golf3" caption="The mangled light switch currently installed">}} {{< lightbox-img src="damaged_light_switch.jpg" lightbox="golf3" caption="The mangled light switch currently installed">}}
{{< lightbox-img src="new_light_switch.jpg" lightbox="golf3" caption="The replacement light switch that just arrived in the mail">}} {{< lightbox-img src="new_fitter_light_switch.jpg" lightbox="golf3" caption="The replacement light switch, still need to detail the interior and dashboard.">}}
{{< /gallery-view >}} {{< /gallery-view >}}
[^apk]: APK, _Algemene Periodieke Keuring_ Dutch periodical vehicle safety, roadworthyness and exhaust emissions inspection [^apk]: APK, _Algemene Periodieke Keuring_ Dutch periodical vehicle safety, roadworthyness and exhaust emissions inspection

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

View File

@ -233,4 +233,19 @@ img.about-avatar {
.fi { .fi {
font-size: $font_size * 1.2; font-size: $font_size * 1.2;
padding-top: 0.5rem; padding-top: 0.5rem;
} }
// bootstrap SVG-Icons
.bi {
display: inline-block;
vertical-align: middle;
padding-bottom: 0.25rem;
}
.bi-link {
width: 1.4rem;
height: 1.4rem;
color: $links;
}

View File

@ -0,0 +1,8 @@
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}
<a href="#{{ .Anchor | safeURL }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-link" viewBox="0 0 16 16">
<path d="M6.354 5.5H4a3 3 0 0 0 0 6h3a3 3 0 0 0 2.83-4H9c-.086 0-.17.01-.25.031A2 2 0 0 1 7 10.5H4a2 2 0 1 1 0-4h1.535c.218-.376.495-.714.82-1z"/>
<path d="M9 5.5a3 3 0 0 0-2.83 4h1.098A2 2 0 0 1 9 6.5h3a2 2 0 1 1 0 4h-1.535a4.02 4.02 0 0 1-.82 1H12a3 3 0 1 0 0-6H9z"/>
</svg>
</a>
</h{{ .Level }}>