diff --git a/content/article/tasty-peanut-stew/index.md b/content/article/tasty-peanut-stew/index.md deleted file mode 100644 index c1cff14f..00000000 --- a/content/article/tasty-peanut-stew/index.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -date: '2020-05-05 23:16:18' -draft: false -photo: null -posttype: article -slug: tasty-peanut-stew -title: 'tasty peanut stew' ---- -Some tasty peanut stew (photo upload testl diff --git a/content/note/5eb1e201/index.md b/content/note/5eb1e201/index.md deleted file mode 100644 index 0dddf6b2..00000000 --- a/content/note/5eb1e201/index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -date: '2020-05-05 23:00:33' -draft: false -photo: null -posttype: note -slug: 5eb1e201 ---- -Some pretty much tasty peanut stew diff --git a/content/photo/5eb1ea18/index.md b/content/photo/5eb1ea18/index.md index ad7bb842..34de6ab0 100644 --- a/content/photo/5eb1ea18/index.md +++ b/content/photo/5eb1ea18/index.md @@ -5,6 +5,7 @@ photo: - 'https://jk.nipponalba.scot/images/2020/05/1588718102480-796978-800.jpeg' posttype: photo slug: 5eb1ea18 +name: '5eb1ea18' thumbnail: - 'https://jk.nipponalba.scot/images/2020/05/1588718102480-796978-200.jpeg' --- diff --git a/content/photo/_index.md b/content/photo/_index.md new file mode 100644 index 00000000..589dbd05 --- /dev/null +++ b/content/photo/_index.md @@ -0,0 +1,3 @@ ++++ +Title = "Photos" ++++ diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index d8eb0aad..c3058062 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -2,7 +2,7 @@

All posts

{{ range .Site.RegularPages }} - {{ if eq .Type "post"}} + {{ if eq .Type "photo"}}

{{ .Title }}

{{ .Description }}

diff --git a/themes/anatole/layouts/partials/taxonomy/photo.html b/themes/anatole/layouts/partials/taxonomy/photo.html index 002fd046..cd67c192 100644 --- a/themes/anatole/layouts/partials/taxonomy/photo.html +++ b/themes/anatole/layouts/partials/taxonomy/photo.html @@ -1,6 +1,6 @@ {{- range $index, $el := . -}} - + {{- end -}}