1 Commits

Author SHA1 Message Date
2ca8d0bde4 WIP create markdown output template 2023-10-21 21:46:52 -05:00
3 changed files with 15 additions and 7 deletions

View File

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

View File

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

View File

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