{{ $dateFormat := .Site.Params.dateFormat | default ":date_medium" }} {{- $.Scratch.Add "index" slice -}} {{- range (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) -}} {{- $.Scratch.Add "index" (dict "title" .Title "tags" .Params.tags "categories" .Params.categories "contents" (.Summary | plainify) "date" (time.Format $dateFormat .Date) "permalink" .Permalink) -}} {{- end -}} {{- $.Scratch.Get "index" | jsonify -}} in'>index : hugo-minimalist-theme
Minimalist theme for hugo
aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
blob: 96ef49365fffe48c7837f8ab79042ab802ad7c69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32