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

github.com/yursan9/manis-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/terms.html13
-rw-r--r--static/css/ui.css4
2 files changed, 11 insertions, 6 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index c3e475b..a36eab9 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -1,13 +1,14 @@
{{ partial "header" . }}
-<section>
+<section class="terms">
{{ partial "title" . }}
{{ with .Content }}{{.}}{{ end }}
<ul style="list-style: none;">
- {{ range .Data.Terms.Alphabetical }}
- <li style="display: inline;">
- <a href="/{{$.Data.Plural}}/{{.Term}}">{{ .Term }}</a>
- </li>
- {{ end }}
+ {{ range .Data.Terms.Alphabetical }}
+ <li style="display: inline;">
+ <a href="/{{$.Data.Plural}}/{{.Term}}" style="">{{ .Term }}</a>
+ <span>({{ .Count }})</span>
+ </li>
+ {{ end }}
</ul>
</section>
{{ partial "footer" . }}
diff --git a/static/css/ui.css b/static/css/ui.css
index ba3043c..152a3ad 100644
--- a/static/css/ui.css
+++ b/static/css/ui.css
@@ -181,6 +181,10 @@ ul.no-bullet {
display: inline;
}
}
+.terms li>span {
+ color: #666;
+ font-family: monospace;
+}
dd { margin-left: 2rem; }