Toevoegen Article en uitbreiden WebPage

This commit is contained in:
Michael Boelen 2023-06-23 16:26:55 +02:00
parent 9f3350149d
commit 809f53f80f
3 changed files with 78 additions and 1 deletions

View file

@ -11,7 +11,11 @@
{{ else if in .Params.content_types "person" }}
{{ partial "schemas/schema_Person.html" . }}
{{ else }}
{{ partial "schemas/schema_WebPage.html" . }}
{{ if gt .WordCount 100 }}
{{ partial "schemas/schema_Article.html" . }}
{{ else }}
{{ partial "schemas/schema_WebPage.html" . }}
{{ end }}
{{ end }}
{{- else if .IsSection -}}