diff --git a/content/favorites.md b/content/favorites.md new file mode 100644 index 0000000..1849dd3 --- /dev/null +++ b/content/favorites.md @@ -0,0 +1,10 @@ +--- +title: Favorites +description: A list of my favorite movies +date: 2022-10-16:17:30+09:00 +type: lists +layout: favorites +--- +This is a list of my favorite films. They are not necessarily the ones that I would recommend to everyone +but they hold a special place for me either as films that I remember fondly from my childhood or because +I just feel that they hold all the qualities that make a movie great to me. diff --git a/layouts/lists/favorites.html b/layouts/lists/favorites.html new file mode 100644 index 0000000..dc799a2 --- /dev/null +++ b/layouts/lists/favorites.html @@ -0,0 +1,17 @@ +{{ define "main" }} +
+
+
+

{{ .Title }}

+ {{- .Content -}} +
+
+ {{ range (where .Site.Pages "Section" "reviews") }} + {{ range (where .Pages ".Params.favorite" "==" true) }} + {{- .Render "summary" -}} + {{ end }} + {{ end }} +
+
+
+{{end}}