Update content to focus on the important parts.

This commit is contained in:
2026-01-04 12:06:00 -08:00
parent 57280c51d4
commit f9d039c15e
35 changed files with 2913 additions and 842 deletions

View File

@@ -0,0 +1,10 @@
{{ $link := .Get "link" }}
{{ $target := .Page }}
{{ if ne $link .Page.RelPermalink }}
{{ $target = index (first 1 (where .Site.AllPages "RelPermalink" $link)) 0 }}
{{ end }}
{{ if $target }}
<section class="space-y-10 w-full">
{{ partial "article-link/simple.html" $target }}
</section>
{{ end }}

View File

@@ -1,14 +0,0 @@
{{ 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 }}

View File

@@ -0,0 +1,13 @@
<article class="max-w-full prose dark:prose-invert">
{{ with .Title }}
<header>
<h1>{{ . | emojify }}</h1>
</header>
{{ end }}
<section>{{ .Content }}</section>
</article>
<section>
{{ partial "recent-articles/main.html" . }}
</section>