mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
include: don't erroneously remove headings if hidefirstheading=true #914
This commit is contained in:
parent
d0b173546e
commit
7d927f1925
1 changed files with 15 additions and 15 deletions
|
@ -1542,21 +1542,21 @@ html[dir="rtl"] .expand > .expand-label > i.fa-chevron-right {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.include.hide-first-heading h1 + h2:first-of-type,
|
||||
.include.hide-first-heading h1 + h3:first-of-type,
|
||||
.include.hide-first-heading h2 + h3:first-of-type,
|
||||
.include.hide-first-heading h1 + h4:first-of-type,
|
||||
.include.hide-first-heading h2 + h4:first-of-type,
|
||||
.include.hide-first-heading h3 + h4:first-of-type,
|
||||
.include.hide-first-heading h1 + h5:first-of-type,
|
||||
.include.hide-first-heading h2 + h5:first-of-type,
|
||||
.include.hide-first-heading h3 + h5:first-of-type,
|
||||
.include.hide-first-heading h4 + h5:first-of-type,
|
||||
.include.hide-first-heading h1 + h6:first-of-type,
|
||||
.include.hide-first-heading h2 + h6:first-of-type,
|
||||
.include.hide-first-heading h3 + h6:first-of-type,
|
||||
.include.hide-first-heading h4 + h6:first-of-type,
|
||||
.include.hide-first-heading h5 + h6:first-of-type {
|
||||
.include.hide-first-heading h1 ~ h2:first-of-type,
|
||||
.include.hide-first-heading h1 ~ h3:first-of-type,
|
||||
.include.hide-first-heading h2 ~ h3:first-of-type,
|
||||
.include.hide-first-heading h1 ~ h4:first-of-type,
|
||||
.include.hide-first-heading h2 ~ h4:first-of-type,
|
||||
.include.hide-first-heading h3 ~ h4:first-of-type,
|
||||
.include.hide-first-heading h1 ~ h5:first-of-type,
|
||||
.include.hide-first-heading h2 ~ h5:first-of-type,
|
||||
.include.hide-first-heading h3 ~ h5:first-of-type,
|
||||
.include.hide-first-heading h4 ~ h5:first-of-type,
|
||||
.include.hide-first-heading h1 ~ h6:first-of-type,
|
||||
.include.hide-first-heading h2 ~ h6:first-of-type,
|
||||
.include.hide-first-heading h3 ~ h6:first-of-type,
|
||||
.include.hide-first-heading h4 ~ h6:first-of-type,
|
||||
.include.hide-first-heading h5 ~ h6:first-of-type {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue