Draw the rest of the fucking owl

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-08-05 21:46:57 +02:00
parent 455372e75c
commit 1f49f0ee88
22 changed files with 544 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
<div class="container">
<div class="terminal-nav">
<header class="terminal-logo">
<div class="logo terminal-prompt">
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
{{ $.Scratch.Add "path" .Site.BaseURL }}
<a
href="{{ .Site.BaseURL }}"
class="no-style {{ with .Site.Params.TitleCutting }}
site-name
{{ end }}"
>{{ .Site.Params.prompt | default .Site.Title }}</a
><span class="prompt-symbol">:~#</span>
{{ range $index, $element := split $url "/" }}
{{ $.Scratch.Add "path" $element }}{{ if ne $element "" }}
<a href="{{ $.Scratch.Get " path" | absURL }}">{{ . }}</a>
<span class="prompt-symbol">/{{ $.Scratch.Add "path" "/" }}</span>
{{ end }}
{{ end }}
</div>
</header>
<nav class="terminal-menu">
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
{{ range $index, $element := .Site.Params.navlinks }}
<li property="itemListElement" typeof="ListItem">
<a property="item" typeof="WebPage" href="{{ absURL .url }}">
<span property="name">{{ .name }}</span>
</a>
<meta property="position" content="{{ add $index 1 }}" />
</li>
{{ end }}
</ul>
</nav>
</div>
</div>