Something went wrong. Try again.
engineering blog at https://blog.tangled.org
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051<!doctype html><html lang=en> <head> {{ template "partials/head.html" }} <link rel="alternate" type="application/rss+xml" title="RSS" href="https://tangled.sh/blog/feed.xml"> <meta name="description" content="{{ index .Meta "subtitle" }}"> </head>
<title> {{ .Meta.title }} </title>
<body class="bg-slate-100 dark:bg-gray-900 flex flex-col items-center min-h-screen"> {{ template "partials/nav.html" }} <div class="px-1 pt-4 flex-grow flex flex-col w-full max-w-[75ch]"> <main> <header class="px-6"> <h1 class="mb-0 text-2xl font-bold text-black dark:text-white">{{ index .Meta "title" }}</h1> <h2 class="font-light text-gray-600 dark:text-gray-400 mt-1 mb-0 text-lg">{{ index .Meta "subtitle" }}</h2> </header>
{{ .Body }}
<section class="py-4"> <ul class="px-0 space-y-4"> {{ $posts := .Extra.blog }} {{ range $posts }} <li class="bg-white dark:bg-gray-800 py-4 px-6 rounded drop-shadow-sm list-none"> {{ $dateStr := .Meta.date }} {{ $date := parsedate $dateStr }} <div class="post-date py-1 mb-0 text-sm text-gray-600 dark:text-gray-400">{{ $date.Format "02 Jan, 2006" }}</div> <div> <a class="title mb-0 text-xl no-underline font-bold" href="/{{ .Meta.slug }}.html">{{ .Meta.title }}</a> {{ if .Meta.draft }} <span class="text-red-500">[draft]</span> {{ end }} <p class="italic mt-1 mb-0 text-gray-600 dark:text-gray-400">{{ .Meta.subtitle }}</p> </div> </li> {{ end }} </ul> </section> </main> </div> <footer class="w-full"> {{ template "partials/footer.html" }} </footer> </body>
</html>