diff --git a/content/nieuws/_index.rst b/content/nieuws/_index.rst new file mode 100644 index 0000000..f0cee48 --- /dev/null +++ b/content/nieuws/_index.rst @@ -0,0 +1,7 @@ +--- +cascade: + type: news +title: "Nieuwsberichten" +--- + +Hier staan alle nieuwsberichten diff --git a/themes/nluug/layouts/news/single.html b/themes/nluug/layouts/news/single.html new file mode 100644 index 0000000..63c0a83 --- /dev/null +++ b/themes/nluug/layouts/news/single.html @@ -0,0 +1,12 @@ +{{ define "main" }} + + {{ $icon_size := 20 }} + {{ $text := .Content }} + {{ $text }} + + {{ if .Params.related_members }} + {{ .Scratch.Set "related_members" .Params.related_members }} + {{ partial "show-related-members.html" . }} + {{ end }} + +{{ end }} diff --git a/themes/nluug/layouts/partials/show-related-members.html b/themes/nluug/layouts/partials/show-related-members.html new file mode 100644 index 0000000..47d95ac --- /dev/null +++ b/themes/nluug/layouts/partials/show-related-members.html @@ -0,0 +1,23 @@ + +{{ $size_in_pixels := 150 }} + +