Archived
Erstmaliger Commit des website/-Unterprojekts (bisher nie versioniert). Enthält Inhalt/Konfiguration (content/, data/, i18n/, hugo.toml) sowie das vendorte Hextra-Theme; Build-Output (public/) und Lock-Datei bleiben über website/.gitignore ausgeschlossen.
12 lines
314 B
HTML
12 lines
314 B
HTML
{{- $enableComments := site.Params.comments.enable | default false -}}
|
|
|
|
{{ if not (eq .Params.comments nil) }}
|
|
{{ $enableComments = .Params.comments }}
|
|
{{ end }}
|
|
|
|
{{- if $enableComments -}}
|
|
{{- if eq site.Params.comments.type "giscus" -}}
|
|
{{ partial "components/giscus.html" . }}
|
|
{{- end -}}
|
|
{{- end -}}
|