Choose between original and herman styles

This commit is contained in:
Caio Lente 2024-03-04 17:16:00 -03:00
parent f71c396687
commit d0b36f11bd
No known key found for this signature in database
GPG key ID: E66D381776EFC03A
5 changed files with 18 additions and 1 deletions

View file

@ -11,7 +11,7 @@
{{- partial "seo_tags.html" . -}}
<meta name="referrer" content="no-referrer-when-downgrade" />
{{ $style := resources.Get "style.css" | minify }}
{{ $style := print (default "original" .Site.Params.themeStyle) ".css" | resources.Get | minify }}
<link href="{{ $style.RelPermalink }}" rel="stylesheet">
{{ if (.Page.Store.Get "hasCodeBlock") }}