1 Commits

Author SHA1 Message Date
bbab41e90f WIP table of contents 2023-10-21 21:49:04 -05:00
3 changed files with 7 additions and 15 deletions

View File

@@ -969,6 +969,7 @@ aside.quote {
.main-container {
max-width: 100%;
margin: 8px 0;
padding: 0;
}
.breadcrumb {
@@ -981,12 +982,17 @@ aside.quote {
break-inside: avoid;
}
.table-of-contents {
.table-of-contents:not(.print) {
display: none;
}
.table-of-contents.print {
display: block;
background-color: unset;
padding: 0;
}
.table-of-contents.print ul {
margin: 0;
}
#back-to-top {

View File

@@ -16,11 +16,6 @@ author:
markup: # this just keeps the bobatheme markup styling
_merge: deep
outputs:
page:
- html
- markdown
params:
# these are for the OpenGraph/Twitter embeds in Hugo
description: Example website for bobatheme

View File

@@ -1,9 +0,0 @@
{{ with .File -}}
{{ with (.Path | readFile) -}}
{{ . -}}
{{ else -}}
{{ errorf "file not found: %s" .Path -}}
{{ end -}}
{{ else -}}
{{ errorf "no file available for markdown template?" -}}
{{ end -}}