aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/layouts/posts/single.html
blob: 4c0002f8a7f56f09bce9962a075d154370fa098f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{- define "title" -}}
  {{.Title}}
{{- end -}}

{{- define "main" -}}
  <div class='container'>
    <div class='section is-small'>
      <h1 class='title'>{{.Title}}</h1>
      <h2 class='subtitle'>{{.Date.Format "January 2, 2006" }}</h2>

      <div class='content'>
        {{- .Content -}}
      </div><!-- content -->
    </div><!-- section -->
  </div><!-- container -->
{{- end -}}