diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/Brine/layouts/_default/dreams.html | 4 | ||||
-rw-r--r-- | themes/Brine/layouts/_default/languages.html | 2 | ||||
-rw-r--r-- | themes/Brine/layouts/_default/recipes.html | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/themes/Brine/layouts/_default/dreams.html b/themes/Brine/layouts/_default/dreams.html index 9f55b99..dc60178 100644 --- a/themes/Brine/layouts/_default/dreams.html +++ b/themes/Brine/layouts/_default/dreams.html @@ -2,13 +2,13 @@ {{ .Content }} <details> <summary>Dated</summary> - <ul>{{ range .Site.Taxonomies.dream.dated}} + <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</summary> - <ul>{{ range .Site.Taxonomies.dream.undated}} + <ul>{{ range sort .Site.Taxonomies.dream.undated ".Page.RelPermalink" "desc" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> </details>{{ end }} diff --git a/themes/Brine/layouts/_default/languages.html b/themes/Brine/layouts/_default/languages.html index 398572c..2bf288b 100644 --- a/themes/Brine/layouts/_default/languages.html +++ b/themes/Brine/layouts/_default/languages.html @@ -1,5 +1,5 @@ {{ define "main" }} <h1>{{ .Title }}</h1> {{ .Content }} - <ul>{{ range .Site.Taxonomies.language.dictionary}} + <ul>{{ range sort .Site.Taxonomies.language.dictionary ".Page.RelPermalink" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul>{{ end }} diff --git a/themes/Brine/layouts/_default/recipes.html b/themes/Brine/layouts/_default/recipes.html index 23ddc43..b39c13f 100644 --- a/themes/Brine/layouts/_default/recipes.html +++ b/themes/Brine/layouts/_default/recipes.html @@ -1,18 +1,18 @@ {{ define "main" }} <h1>{{ .Title }}</h1> {{ .Content }} <h3>Meals</h3> - <ul>{{ range .Site.Taxonomies.recipe.meal}} + <ul>{{ range sort .Site.Taxonomies.recipe.meal ".Page.RelPermalink" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> <h3>Snacks</h3> - <ul>{{ range .Site.Taxonomies.recipe.snack}} + <ul>{{ range sort .Site.Taxonomies.recipe.snack ".Page.RelPermalink" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> <h3>Breads</h3> - <ul>{{ range .Site.Taxonomies.recipe.bread}} + <ul>{{ range sort .Site.Taxonomies.recipe.bread ".Page.RelPermalink" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> <h3>Desserts</h3> - <ul>{{ range .Site.Taxonomies.recipe.dessert}} + <ul>{{ range sort .Site.Taxonomies.recipe.dessert ".Page.RelPermalink" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul>{{ end }} |