Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Softorage/HugoTheme-VibrantShadows.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/list.html')
-rw-r--r--layouts/post/list.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layouts/post/list.html b/layouts/post/list.html
new file mode 100644
index 0000000..c8b5c83
--- /dev/null
+++ b/layouts/post/list.html
@@ -0,0 +1,26 @@
+{{ define "main" -}}
+
+<div class="container-fluid bg-clr1 text-nav text-center pb-3 pt-4 position-relative shadow-sm">
+ <div style="height:3.5rem;"></div>
+ <h1>{{ .Title }}</h1>
+ <p>{{ .Description }}</p>
+</div>
+<div class="container-fluid bg-mat py-3">
+ <!-- ranges through each of the content files associated with a particular term and renders the summary.html content view -->
+ {{ range .Pages }}
+ <div class="card mb-3">
+ <div class="card-body">
+ <h2>
+ <a class="card-title text-reset" href="{{ .Permalink }}"> {{ .Title }}</a>
+ </h2>
+ <div class="card-text">
+ <div class="font-weight-bold small post-meta"> {{ .WordCount }} Words </div>
+ <p>{{ .Summary }}</p>
+ <a class="font-weight-bold text-reset text-decoration-none" href="{{ .Permalink }}"><nobr>Read more →</nobr></a>
+ </div>
+ </div>
+ </div>
+ {{ end }}
+</div>
+
+{{- end }}