nav - add link to page titles
This commit is contained in:
parent
91885e99e2
commit
1212d263d6
3 changed files with 6 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
[data-template="sectioned"] section {
|
||||
scroll-margin-top: 7rem;
|
||||
scroll-margin-top: 6rem;
|
||||
}
|
||||
|
||||
[data-template="sectioned"] .section__row {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
* {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
section:not(.collapsable),
|
||||
footer {
|
||||
box-sizing: border-box;
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
<ul class="expanded-nav__columns">
|
||||
<?php foreach($site->children()->listed() as $category): ?>
|
||||
<li>
|
||||
<h4 class="expanded-nav__category"><?= $category->title() ?></h4>
|
||||
<h4 class="expanded-nav__category"><a href="<?= $category->url() ?>"><?= $category->title() ?></a></h4>
|
||||
<ul>
|
||||
<?php foreach($category->children() as $subcategory): ?>
|
||||
<?php if ($subcategory->isIndexed() == 'true'): ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue