Add sidenote delimiters to make the site not look bad with CSS off
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
{{ $style := resources.Get "scss/style.scss" | resources.ToCSS | resources.Minify }}
|
||||
{{ $sidenotes := resources.Get "scss/sidenotes.scss" | resources.ToCSS | resources.Minify }}
|
||||
{{ $icon := resources.Get "img/favicon.png" }}
|
||||
{{- partial "sidenotes.html" . -}}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
||||
<link rel="stylesheet" href="{{ $sidenotes.Permalink }}">
|
||||
<link rel="icon" type="image/png" href="{{ $icon.Permalink }}">
|
||||
|
||||
5
themes/vanilla/layouts/partials/sidenotes.html
Normal file
5
themes/vanilla/layouts/partials/sidenotes.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<style>
|
||||
.sidenote-checkbox {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user