Les tags sont sur plusieurs colonnes

This commit is contained in:
Stanislas Jouffroy 2025-03-25 23:19:16 +01:00
parent 1d44c6d7bc
commit 32f39949b3
4 changed files with 20 additions and 4 deletions

View file

@ -1,7 +1,11 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
<div class="taxonomy">
<ul>
{{ range .Pages }}
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
{{ end }}
</ul>
</div>
{{ end }}

View file

@ -239,6 +239,12 @@ figure > figcaption h4 {
}
.taxonomy {
-webkit-column-width: 150px;
-moz-column-width: 150px;
column-width: 150px;
}
.ais-SearchBox {
.ais-SearchBox-input {
width: 70%;

View file

@ -985,6 +985,12 @@ figure > figcaption h4 {
margin-left: 10rem;
}
.taxonomy {
-webkit-column-width: 150px;
-moz-column-width: 150px;
column-width: 150px;
}
.ais-SearchBox .ais-SearchBox-input {
width: 70%;
}

File diff suppressed because one or more lines are too long