Add custom style for spirits.
This commit is contained in:
22
layouts/spirits/baseof.html
Normal file
22
layouts/spirits/baseof.html
Normal 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>
|
||||
Reference in New Issue
Block a user