diff --git a/content/photo/test-article.md b/content/photo/test-article.md deleted file mode 100644 index 9d28febf..00000000 --- a/content/photo/test-article.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -category: - - temp - - test -date: '2020-05-05 20:18:22' -name: 'test article' -photo: - - '/images/2020/05/1588706301753-842335-1600.jpeg' -posttype: photo -published: true -slug: test-article -thumbnail: - - '/images/2020/05/1588706301753-842335-200.jpeg' -title: 'test article' ---- -Testing whether this article works as I hope after tampering with the micropub endpoint. - -Random photo! diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 83b132ae..ca44130d 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -14,14 +14,13 @@ {{ .Content }} -
+ {{if eq .Type "article" }}
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }} {{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }} - {{ with .Page.Params.Category }}{{ partial "taxonomy/categories.html" . }}{{ end }} {{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
-
+
{{end}}
{{ end }}