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

github.com/h-enk/doks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/authors/list.html')
-rw-r--r--layouts/authors/list.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layouts/authors/list.html b/layouts/authors/list.html
new file mode 100644
index 0000000..5752bae
--- /dev/null
+++ b/layouts/authors/list.html
@@ -0,0 +1,23 @@
+{{ define "main" }}
+<div class="row justify-content-center">
+ <div class="col-md-12 col-lg-10 col-xl-8">
+ <article>
+ <h1 class="text-center">{{ .Title }}</h1>
+ <div class="text-center">{{ .Content }}</div>
+ <div class="card-list">
+ {{ range .Data.Pages -}}
+ <div class="card">
+ <div class="card-body">
+ <h2 class="h3"><a class="stretched-link" href="{{ .Permalink }}">{{ .Params.title }}</a></h2>
+ {{ if eq .Section "blog" -}}
+ <p>{{ .Params.lead }}</p>
+ {{ partial "main/blog-meta.html" . -}}
+ {{ end -}}
+ </div>
+ </div>
+ {{ end -}}
+ </div>
+ </article>
+ </div>
+</div>
+{{ end }} \ No newline at end of file