- {{ partialCached "header.html" . }}
- {{ partial "breadcrumb.html" . }}
-
{{ .Title }}
+
{{ .Title }}
+
{{- block "main" . }}
{{ .Content }}
{{- end }}
+
{{ partial "show-call-to-action.html" . }}
diff --git a/themes/nluug/layouts/partials/footer.html b/themes/nluug/layouts/partials/footer.html
index b76743b..ba3decf 100644
--- a/themes/nluug/layouts/partials/footer.html
+++ b/themes/nluug/layouts/partials/footer.html
@@ -53,6 +53,7 @@
BundleType = {{ .BundleType }}
IsPage = {{ .IsPage }}
IsSection = {{ .IsSection }}
+
Content types = {{ .Params.content_types }}
{{ end }}
diff --git a/themes/nluug/layouts/partials/schemas/include-relevant-schemas.html b/themes/nluug/layouts/partials/schemas/include-relevant-schemas.html
index feb8847..0c583df 100644
--- a/themes/nluug/layouts/partials/schemas/include-relevant-schemas.html
+++ b/themes/nluug/layouts/partials/schemas/include-relevant-schemas.html
@@ -2,13 +2,16 @@
{{ partial "schemas/schema_Organization.html" . }}
{{ partial "schemas/schema_WebSite.html" . }}
+ {{ partial "schemas/schema_WebPage.html" . }}
{{- else if .IsPage -}}
- {{ partial "schemas/schema_BreadcrumbList.html" . }}
-
{{ if in .Params.content_types "person" }}
{{ partial "schemas/schema_Person.html" . }}
+ {{ else }}
+ {{ partial "schemas/schema_WebPage.html" . }}
{{ end }}
{{ end }}
+
+{{ partial "schemas/schema_BreadcrumbList.html" . }}
diff --git a/themes/nluug/layouts/partials/schemas/schema_Person.html b/themes/nluug/layouts/partials/schemas/schema_Person.html
index 2104220..6bd6b3f 100644
--- a/themes/nluug/layouts/partials/schemas/schema_Person.html
+++ b/themes/nluug/layouts/partials/schemas/schema_Person.html
@@ -1,42 +1,56 @@
-{{ if .Params.slug }}
-{{ $author := index .Site.Data.personen .Params.slug }}
+{{ $author := index .Site.Data.personen (substr $.File.LogicalName 0 -3) }}
{{ $location := index .Site.Data.location .Site.Params.primarylocation }}
-{{ end }}
diff --git a/themes/nluug/layouts/partials/schemas/schema_WebPage.html b/themes/nluug/layouts/partials/schemas/schema_WebPage.html
new file mode 100644
index 0000000..58e8164
--- /dev/null
+++ b/themes/nluug/layouts/partials/schemas/schema_WebPage.html
@@ -0,0 +1,25 @@
+
diff --git a/themes/nluug/layouts/partials/schemas/schema_WebSite.html b/themes/nluug/layouts/partials/schemas/schema_WebSite.html
index e300a07..3d3e54e 100644
--- a/themes/nluug/layouts/partials/schemas/schema_WebSite.html
+++ b/themes/nluug/layouts/partials/schemas/schema_WebSite.html
@@ -4,27 +4,16 @@