feat: new partials: comments_counter and single_base

This commit is contained in:
Mirus
2024-07-29 10:47:00 +03:00
parent 9f17b5fa0d
commit a85b82b722
5 changed files with 120 additions and 8 deletions

View File

@@ -5,6 +5,10 @@
<title>{{ if .IsHome }}{{ $.Site.Title }}{{ else }}{{ .Title }} :: {{ $.Site.Title }}{{ end }}</title>
{{ end }}
{{ partial "head.html" . }}
{{ block "head" . }}{{""}}{{ end }}
</head>
<body class="{{- ( or .Params.color $.Site.Params.ThemeColor ) -}}">
{{ $container := cond ($.Site.Params.FullWidthTheme | default false) "container full" (cond ($.Site.Params.CenterTheme | default false) "container center" "container") }}