mirror of
https://github.com/morgan9e/blog
synced 2026-04-15 00:34:35 +09:00
Reset
This commit is contained in:
16
themes/plain/layouts/_default/single.html
Normal file
16
themes/plain/layouts/_default/single.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{{ define "head" }}
|
||||
{{- partial "katex.html" . -}}
|
||||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
{{- partial "nav.html" . -}}
|
||||
<article>
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ if gt .Date.Year 2000 }}<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time>{{ end }}
|
||||
</header>
|
||||
<div class="post-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user