mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
tags: leverage space in terms layout #530
This commit is contained in:
parent
55549897c5
commit
53093085bd
2 changed files with 10 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
{{- end }}
|
||||
{{- $title = printf "%s %s %s" $title (default "::" .Site.Params.titleSeparator) (.Title | humanize) }}
|
||||
<h1 id="{{ $title | anchorize }}">{{ $title }}</h1>
|
||||
<ul>
|
||||
<ul class="columnize">
|
||||
{{- range sort .Pages "Title" }}
|
||||
{{- $c:=""}}{{/* display pages of a term */}}
|
||||
{{- if and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableTagHiddenPages true) ) }}
|
||||
|
|
|
@ -1768,3 +1768,12 @@ html[dir="rtl"] #sidebar ul.collapsible-menu > li > label > i.fa-chevron-right {
|
|||
.tax-box {
|
||||
width: 18rem;
|
||||
}
|
||||
|
||||
.columnize{
|
||||
column-count: 2;
|
||||
}
|
||||
@media screen and (min-width: 79.25rem) {
|
||||
.columnize{
|
||||
column-count: 3;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue