{{- define "main" }} {{- $scratch := newScratch }} {{- if isset .Params "image" }} {{- $scratch.Set "image" .Params.image }} {{- else }} {{- if isset .Params "featured_image" }} {{- $scratch.Set "image" .Params.featured_image }} {{- else }} {{- $scratch.Set "image" "nop" }} {{- end }} {{- end }} {{- $image := $scratch.Get "image" }} {{ if eq $image "nop" }}
{{ else }} {{- $bg := ( $image | absLangURL) }}
{{- with .Params.tags -}} {{- range first 10 . }} {{- $tag := . | urlize }} {{- end }} {{- end }}
{{ end }}

{{- if isset .Params "title" }} {{ .Title }} {{- else }} Post op {{ .Lastmod.Format (.Site.Params.dateFormat | default "2 January 2006") }} {{- end }} {{- if isset .Params "link" }} (link) {{- end }}

{{ if isset .Params "date" }}

{{ .Lastmod.Format (.Site.Params.dateFormat | default "2 January 2006") }}

{{ end }}
{{- .Content }}
{{- partial "copy" . }}
{{ if not (isset .Params "disablefb") }}

Facebook community »

Klik op 'Berichten' en laat iets van je horen!

Facebook Widget Screenshot

{{ end }} {{- end }}