Make theme fit more generic pages better

This commit is contained in:
Joe Hutchinson
2018-12-18 09:43:27 -05:00
parent 503f0efe0d
commit 22273ffd5d
6 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
<p class="list-header-subtext">{{ .Description }}</p>
<h1 class="list-header-title">{{ .Title }}</h1>
</header>
{{ range where .Paginator.Pages "Params.list" true }}
{{ range where .Paginator.Pages "Params.list" "!=" false }}
{{ .Render "li" }}
{{ end }}
</main>

View File

@@ -7,7 +7,7 @@
{{ end }}
<article class="card-body">
<h2 class="card-title">{{ .Title }}</h2>
<p class="card-text">{{ .Description }}</p>
<p class="card-text">{{ if (isset .Params "description") }}{{ index .Params "description" }}{{ else }}{{ .Summary }}{{ end }}</p>
<div class="card-subtext muted-text">
<p>Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>
<p>{{ range .Params.categories }}#{{ . }} {{ end }}</p>

View File

@@ -3,7 +3,7 @@ license = "MIT"
licenselink = "https://github.com/josephhutch/aether/blob/master/LICENSE.md"
description = "aether is a blog theme that emphasizes motion, material, and depth as design elements to highlight the content of your site"
homepage = "https://github.com/josephhutch/aether"
tags = ["Blog", "Responsive", "Minimal", "Clean", "Material Design", "Highlight.js"]
tags = ["Blog", "Personal", "Responsive", "Minimal", "Simple", "Clean", "Material Design"]
features = []
min_version = "0.26"