Initial commit: site code, layouts, content (images added separately)
Fixes duplicate placeholder cover image on the 3 newest blog posts, broken aspect-ratio classes on the albums listing page, and a non-responsive fixed sidebar on the chat page.
This commit is contained in:
13
layouts/_default/single.html
Normal file
13
layouts/_default/single.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ define "main" }}
|
||||
<div class="bg-gray-900 py-16 px-4 sm:px-6 lg:px-8">
|
||||
<article class="max-w-3xl mx-auto prose prose-emerald prose-lg prose-invert">
|
||||
<h1 class="text-4xl font-extrabold text-gray-100 tracking-tight sm:text-5xl mb-8">{{ .Title }}</h1>
|
||||
<div class="text-gray-400 mb-10">
|
||||
{{ if .Date }}Published on {{ .Date.Format "January 2, 2006" }}{{ end }}
|
||||
</div>
|
||||
<div class="mt-6">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user