diff --git a/archetypes/default.md b/archetypes/default.md index f5f166c..e762517 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -5,6 +5,7 @@ img: teaser: "" domains: [] topics: [] +doctypes: [] date: {{ .Date }} author: draft: false diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 6aa3bdc..8018200 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -12,6 +12,12 @@ {{- else if .Site.Params.defaultImage -}} dummy + {{- else if .Params.Summary -}} +
+
+
{{ .Params.Summary }}
+
+
{{- end }} {{- $site := .Site -}} @@ -31,7 +37,8 @@ {{- end }} - {{ with .Params.Topics -}} + {{ if not .Site.Params.hideRelatedArticles -}} + {{- with .Params.Topics -}}

{{ i18n "related" }}

@@ -53,9 +60,10 @@
+ {{- end -}} {{- end }} - {{ if .Site.Params.showSectionArticles -}} + {{ if not .Site.Params.hideSectionArticles -}}
{{- $section := or .Section "posts" -}}