Browse Source

Remove useless sidenotes partial

donations
Danila Fedorin 11 months ago
parent
commit
ebdb986e2a
  1. 3
      themes/vanilla/layouts/partials/head.html
  2. 5
      themes/vanilla/layouts/partials/sidenotes.html

3
themes/vanilla/layouts/partials/head.html

@ -12,7 +12,8 @@
{{ $sidenotes := resources.Get "scss/sidenotes.scss" | resources.ToCSS | resources.Minify }}
{{ $code := resources.Get "scss/code.scss" | resources.ToCSS | resources.Minify }}
{{ $icon := resources.Get "img/favicon.png" }}
{{- partial "sidenotes.html" . -}}
<style>.sidenote-checkbox { display: none; }</style>
<style>.feather { width: 1rem; height: 1rem; }</style>
<link rel="stylesheet" href="{{ $style.Permalink }}" media="screen">
<link rel="stylesheet" href="{{ $sidenotes.Permalink }}" media="screen">
<link rel="stylesheet" href="{{ $code.Permalink }}" media="screen">

5
themes/vanilla/layouts/partials/sidenotes.html

@ -1,5 +0,0 @@
<style>
.sidenote-checkbox {
display: none;
}
</style>
Loading…
Cancel
Save