initial commit

This commit is contained in:
Drew
2025-02-10 16:38:53 -07:00
commit 1317913e3a
19 changed files with 2651 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<!-- basic header partial in hugo with just home and about -->
<header class="p-4">
<nav>
<ul class="flex gap-4">
<li>
<a href="/" class="hover:text-blue-700">Home</a>
</li>
<li>
<a href="/about" class="hover:text-blue-700">About</a>
</li>
</ul>
</nav>
</header>

View File

@ -0,0 +1,10 @@
{{- if .Params.tags }}
<div class="flex flex-wrap gap-2 my-2 text-xs">
{{- range .Params.tags }}
<a href="{{ "tags/" | relURL }}{{ . | urlize }}"
class="px-3 py-1 bg-green-100 hover:bg-green-300 rounded no-underline">
{{ . }}
</a>
{{- end }}
</div>
{{- end }}