1
0
mirror of https://github.com/BBaoVanC/bobatheme.git synced 2025-06-21 12:57:30 -05:00

Add light mode and improve print compatibility

This commit is contained in:
2021-11-18 17:26:02 -06:00
parent 6d456768fa
commit d0c216165e
4 changed files with 185 additions and 8 deletions
assets/css
layouts
_default
partials

@ -94,7 +94,9 @@
{{ end }}
{{ if .Params.comments }}
{{ partial "comments.html" . }}
<div class="comments">
{{ partial "comments.html" . }}
</div>
{{ end }}
{{ end }}

@ -9,6 +9,9 @@
{{ with resources.Get "css/syntax.css" | fingerprint "sha512" }}
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{ end }}
{{ with resources.Get "css/syntax-light.css" | fingerprint "sha512" }}
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{ end }}
{{ with .Site.Params.faviconICO }}
<link rel="icon" type="image/x-icon" href="{{ . | absURL }}" />