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

github.com/mazgi/hugo-theme-techlog-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/taxonomy/author.terms.html')
-rw-r--r--layouts/taxonomy/author.terms.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/taxonomy/author.terms.html b/layouts/taxonomy/author.terms.html
new file mode 100644
index 0000000..e4580ed
--- /dev/null
+++ b/layouts/taxonomy/author.terms.html
@@ -0,0 +1,16 @@
+{{ partial "header.html" . }}
+<div class="row">
+ <div class="col-lg-9">
+ {{ $plural := .Data.Plural }}
+ {{ range $key, $value := .Data.Terms }}
+ <a class="m-1 btn btn-lg btn-secondary badge-pill" href="{{ "/" | relLangURL}}{{ $plural }}/{{ $key | urlize }}">
+ {{ $key }}
+ <span class="badge badge-light">{{ len $value }}</span>
+ </a>
+ {{ end }}
+ </div>
+ <div class="col-lg-3">
+ {{ partial "sidebar.html" . }}
+ </div>
+</div>
+{{ partial "footer.html" . }}