~gg/blog-theme

ref: e58dcc41038b5c49bb129503bb28c1c0c5745b75 blog-theme/layouts/_default/list.html -rw-r--r-- 339 bytes
e58dcc41 — Gui Goncalves Add color scheme, noscript partial 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ define "main" }}
<main>
  {{ if or .Title .Content }}
  <div>
    {{ with .Title }}<h1>{{ . }}</h1>{{ end }}
    {{ with .Content }}<div>{{ . }}</div>{{ end }}
  </div>
  {{ end }}

  {{ range .Paginator.Pages }}
  {{ .Render "summary" }}
  {{ end }}
  {{ partial "pagination.html" . }}
</main>
{{ partial "sidebar.html" . }}
{{ end }}