Val's Dreamscape Journal - initial
This commit is contained in:
19
themes/dreamscape/layouts/_default/single.html
Normal file
19
themes/dreamscape/layouts/_default/single.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{ define "main" }}
|
||||
<div class="page-header">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ if .Params.subtitle }}<p class="subtitle">{{ .Params.subtitle }}</p>{{ end }}
|
||||
<div class="meta">
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006年01月02日" }}</time>
|
||||
{{ with .Params.tags }}<span class="tags">{{ range . }}<span class="tag">{{ . }}</span>{{ end }}</span>{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<article class="article">
|
||||
{{ .Content }}
|
||||
</article>
|
||||
|
||||
<nav class="post-nav">
|
||||
{{ with .PrevInSection }}<a href="{{ .RelPermalink }}" class="prev">← {{ .Title }}</a>{{ end }}
|
||||
{{ with .NextInSection }}<a href="{{ .RelPermalink }}" class="next">{{ .Title }} →</a>{{ end }}
|
||||
</nav>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user