Add custom style for spirits.

This commit is contained in:
2026-04-18 23:48:09 -07:00
parent 8b9886cc8f
commit ac3804530c
3 changed files with 49 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
{{- /* Note: changing the baseof template because the title, tags, etc. of a regular post are still valid. */ -}}
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
{{- partial "head.html" . -}}
<body>
{{ $writingcss := resources.Get "scss/writing.scss" | css.Sass | resources.Minify }}
<link rel="stylesheet" href="{{ $writingcss.Permalink }}">
{{ $spiritscss := resources.Get "scss/spirits.scss" | css.Sass | resources.Minify }}
<link rel="stylesheet" href="{{ $spiritscss.Permalink }}">
{{- partial "header.html" . -}}
<div class="container"><hr class="header-divider"></div>
<main class="container">
{{- if .Draft -}}
{{- partial "warning.html" (i18n "postDraft") -}}
{{- end -}}
{{- block "main" . }}{{- end }}
</main>
{{- block "after" . }}{{- end }}
</body>
</html>