Initial commit
This commit is contained in:
18
layouts/_default/single.html
Executable file
18
layouts/_default/single.html
Executable file
@@ -0,0 +1,18 @@
|
||||
{{ define "main" }}
|
||||
<article class="py-16">
|
||||
<div class="container-narrow">
|
||||
<header class="mb-12">
|
||||
<h1 class="text-4xl font-medium tracking-tight">{{ .Title }}</h1>
|
||||
{{- if not .Date.IsZero }}
|
||||
<time class="text-text-muted text-sm mt-2 block">
|
||||
{{ .Date.Format "January 2, 2006" }}
|
||||
</time>
|
||||
{{- end }}
|
||||
</header>
|
||||
|
||||
<div class="prose prose-invert prose-lg max-w-none">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user