chore: initial commit
This commit is contained in:
commit
5880538157
36 changed files with 930 additions and 0 deletions
20
layouts/_default/single.html
Normal file
20
layouts/_default/single.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{{ define "main" }}
|
||||
{{ if eq .Type "blog" }}{{ if not .Params.menu }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
<p>
|
||||
<i>
|
||||
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
|
||||
{{ .Date.Format "02 Jan, 2006" }}
|
||||
</time>
|
||||
</i>
|
||||
</p>
|
||||
{{ end }}{{ end }}
|
||||
<content>
|
||||
{{ .Content }}
|
||||
</content>
|
||||
<p>
|
||||
{{ range (.GetTerms "tags") }}
|
||||
<a href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
|
||||
{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue