summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default/dreams.html
blob: 4817ebc71076ff882cb953a7eb79b2e1f3d39992 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{ define "main" }}	<h1>{{ .Title }}</h1>
	{{ .Content }}
	<details>
		<summary>Dated <span>{{ .Site.Taxonomies.dream.dated | len}}</span></summary>
		<ul>{{ range sort .Site.Taxonomies.dream.dated ".Page.RelPermalink" "desc" }}
			<li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }}
		</ul>
	</details>
	<details>
		<summary>Archive <span>{{ .Site.Taxonomies.dream.undated | len}}</span></summary>
		<ul>{{ range sort .Site.Taxonomies.dream.undated ".Page.RelPermalink" "desc" }}
			<li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }}
		</ul>
	</details>{{ end }}