init: hugo site with mytheme
This commit is contained in:
8
themes/mytheme/layouts/_default/single.html
Normal file
8
themes/mytheme/layouts/_default/single.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ define "title" }}{{ .Title }} - {{ .Site.Title }}{{ end }}
|
||||
{{ define "main" }}
|
||||
<article class="post-single">
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
<div class="post-meta">{{ .Date.Format "2006-01-02" }}{{ with .Params.categories }} · {{ . }}{{ end }}</div>
|
||||
<div class="post-content">{{ .Content }}</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user