Make theme fit more generic pages better
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<p class="list-header-subtext">{{ .Description }}</p>
|
<p class="list-header-subtext">{{ .Description }}</p>
|
||||||
<h1 class="list-header-title">{{ .Title }}</h1>
|
<h1 class="list-header-title">{{ .Title }}</h1>
|
||||||
</header>
|
</header>
|
||||||
{{ range where .Paginator.Pages "Params.list" true }}
|
{{ range where .Paginator.Pages "Params.list" "!=" false }}
|
||||||
{{ .Render "li" }}
|
{{ .Render "li" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
<article class="card-body">
|
<article class="card-body">
|
||||||
<h2 class="card-title">{{ .Title }}</h2>
|
<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">
|
<div class="card-subtext muted-text">
|
||||||
<p>Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>
|
<p>Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>
|
||||||
<p>{{ range .Params.categories }}#{{ . }} {{ end }}</p>
|
<p>{{ range .Params.categories }}#{{ . }} {{ end }}</p>
|
||||||
@@ -3,7 +3,7 @@ license = "MIT"
|
|||||||
licenselink = "https://github.com/josephhutch/aether/blob/master/LICENSE.md"
|
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"
|
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"
|
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 = []
|
features = []
|
||||||
min_version = "0.26"
|
min_version = "0.26"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user