mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-07 09:02:29 +00:00
11 lines
476 B
HTML
11 lines
476 B
HTML
{{- $sidebarEnabled := .Site.Params.sidebar.enable -}}
|
|
{{- $sidebarWidgets := .Site.Params.widgets.sidebar -}}
|
|
|
|
{{- if eq .Kind "404" -}} error{{- end -}}{{- .Kind -}}
|
|
{{- with .Type }} type-{{ . }}{{ end -}}
|
|
{{- with .Layout }} layout-{{ . }}{{ end -}}
|
|
{{- with .Data.Singular }} taxonomy-{{ . }}{{ end -}}
|
|
{{- if .Params.cover }} has-cover{{ end -}}
|
|
{{- if ( and $sidebarEnabled $sidebarWidgets ) }} has-sidebar{{ end -}}
|
|
{{- if eq .Params.emoji true }} has-emoji{{ end -}}
|