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 @@ ...@@ -66,13 +66,17 @@
height: 100% height: 100%
position: absolute position: absolute
width: col-outside-container(4) width: col-outside-container(4)
// > div > div
// @include sticky($spacing1) height: 100%
position: relative
aside
border-bottom: 1px solid $color-border
padding-bottom: $spacing1
.toc-container .toc-container
border-top: 1px solid $color-border height: unset
padding-top: $spacing1
position: static
margin-left: 0 margin-left: 0
padding-top: $spacing1
@include sticky(-1px)
.media .media
width: col(2, 4) width: col(2, 4)
......
...@@ -64,6 +64,12 @@ ...@@ -64,6 +64,12 @@
{{ end }} {{ end }}
</dl> </dl>
</aside> </aside>
{{ partial "toc/container.html"
(dict
"toc" "toc/default.html"
"context" .
)
}}
</div> </div>
</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