{{ .Title }}
{{ .Description }}
+ {{ if .Page.Params.Article }} +{{ .Description }}
+ {{ else }} +{{ .Content }}
+ {{ end }}diff --git a/main-site/archetypes/default.md b/main-site/archetypes/default.md index 86d7719..b7a3f20 100644 --- a/main-site/archetypes/default.md +++ b/main-site/archetypes/default.md @@ -3,4 +3,5 @@ title: '{{ replace .File.ContentBaseName "-" " " | title }}' description: No description date: {{ .Date }} thumbnail: null +article: false --- diff --git a/main-site/content/feed/learning.md b/main-site/content/feed/learning.md deleted file mode 100644 index 99d3c22..0000000 --- a/main-site/content/feed/learning.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: 'Learning' -description: No description -date: 2023-09-23T01:18:52-07:00 -thumbnail: null ---- - -This theme is finally - diff --git a/main-site/themes/temper/layouts/_default/baseof.html b/main-site/themes/temper/layouts/_default/baseof.html index 5f8e2ec..cfaf72a 100644 --- a/main-site/themes/temper/layouts/_default/baseof.html +++ b/main-site/themes/temper/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{- partial "head.html" . -}}
{{- partial "header.html" . -}} -{{ .Description }}
+ {{ if .Page.Params.Article }} +{{ .Description }}
+ {{ else }} +{{ .Content }}
+ {{ end }}