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

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/layouts/_default/taxonomy.html')
-rw-r--r--docs/layouts/_default/taxonomy.html18
1 files changed, 12 insertions, 6 deletions
diff --git a/docs/layouts/_default/taxonomy.html b/docs/layouts/_default/taxonomy.html
index 273aa4a88..430c301fe 100644
--- a/docs/layouts/_default/taxonomy.html
+++ b/docs/layouts/_default/taxonomy.html
@@ -6,13 +6,19 @@
</ol>
</nav>
- <h1 class="h2">All {{ .Type }}</h1>
- <ul style="column-count: 4;">
+ <h1 class="h2 mb-4">All {{ .Type }}</h1>
+ <div class="grid category-grid">
{{ range .Data.Pages }}
- <li>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
- </li>
+ <a class="category-grid-item d-block text-decoration-none link-dark hover-link-primary" href="{{ .Permalink }}">
+ <div class="d-flex flex-wrap justify-content-center p-3 mb-3 text-dark border rounded-3 fs-2 hover-border-primary hover-shadow-primary" style="min-height: 140px">
+ {{ range first 10 (where .Data.Pages ".Params.categories" "intersect" (slice .Title)) }}
+ {{ $name := .Title | urlize }}
+ <i class="bi bi-{{ $name }}"></i>
+ {{ end }}
+ </div>
+ <h2 class="fs-5">{{ .Title }}</h2>
+ </a>
{{ end }}
- </ul>
+ </div>
{{ end }}