Skip to content
Snippets Groups Projects
Commit b8e09a20 authored by Olivia206's avatar Olivia206
Browse files

added toc to posts

parent 0c579a11
No related branches found
No related tags found
No related merge requests found
......@@ -66,13 +66,17 @@
height: 100%
position: absolute
width: col-outside-container(4)
// > div
// @include sticky($spacing1)
> div
height: 100%
position: relative
aside
border-bottom: 1px solid $color-border
padding-bottom: $spacing1
.toc-container
border-top: 1px solid $color-border
padding-top: $spacing1
position: static
height: unset
margin-left: 0
padding-top: $spacing1
@include sticky(-1px)
.media
width: col(2, 4)
......
......@@ -64,6 +64,12 @@
{{ end }}
</dl>
</aside>
{{ partial "toc/container.html"
(dict
"toc" "toc/default.html"
"context" .
)
}}
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment