Initial commit.

This commit is contained in:
2025-12-10 16:49:59 -08:00
commit 2a2b4a3f83
1366 changed files with 95853 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<a
class="!rounded-lg bg-primary-600 px-4 py-2 !text-neutral !no-underline hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
{{ with .Get "href" }}href="{{ . }}"{{ end }}
{{ with .Get "target" }}target="{{ . }}"{{ end }}
{{ with .Get "rel" }}rel="{{ . }}"{{ end }}
role="button">
{{ .Inner }}
</a>

View File

@@ -0,0 +1,3 @@
<div class="{{ .Get "class" }}">
{{ .Inner }}
</div>

View File

@@ -0,0 +1,8 @@
<div class="flex cursor-pointer justify-end -mt-4">
<a
href="{{ .Params.href }}"
class="rounded-lg border border-primary-400 px-2 py-[1px] text-s text-primary-700 dark:border-primary-600 dark:text-primary-400 hover:bg-primary-100 dark:hover:bg-primary-800 transition-colors duration-200 hover:rounded-lg"
>
Read more
</a>
</div>

14
layouts/home.html Normal file
View File

@@ -0,0 +1,14 @@
{{ define "main" }}
<article class="h-full max-w-full flex flex-col items-center justify-center">
<section class="mt-6">
{{ .Content }}
</section>
<section>
{{ partial "recent-articles/main.html" . }}
</section>
<footer class="pt-8">
</footer>
</article>
{{ end }}