Welcome to mirror list, hosted at ThFree Co, Russian Federation.

single.html « _default « layouts - github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7e9b8c4be135b62f14bd2f8fc5d32c084071bc27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{define "header"}}
    {{partial "post-header.html" .}}
{{end}}
{{define "main"}}
<article class="post">
  {{if .Content}}
    <div class="post-content">{{.Content}}</div>
  {{else}}
    <div class="post-content--nopost">Author leaves no content for this post :( </div>
  {{end}}
</article>
{{ partial "button" . }}
{{end}}
{{define "footer"}}
    {{partial "post-footer" .}}
{{end}}