diff --git a/app/content/pages/about.md b/app/content/pages/about.md index bfca3d8..6dc8111 100644 --- a/app/content/pages/about.md +++ b/app/content/pages/about.md @@ -33,7 +33,7 @@ In my spare time I like to tinker on various Ruby projects (including the softwa - Adamantium - ✅ Build a blogging tool that I actually use. - Clean things up and open-source the code — I'm currently using some un-released features of Hanami, so keen to bring in the officially supported stuff before sharing. - - Build in a photo gallery. + - ✅ Build in a photo gallery to post pages. - Add a way to syndicate after a post is published. - Add places visited to weekly posts. - Add weather history to weekly posts. diff --git a/app/templates/posts/show.html.slim b/app/templates/posts/show.html.slim index 0c2256b..fc95b09 100644 --- a/app/templates/posts/show.html.slim +++ b/app/templates/posts/show.html.slim @@ -56,7 +56,7 @@ article class="h-entry" div class="flex gap-4 pb-4 mt-4" - past_movies.map do |movie| a href=movie.url - figure + figure class="w-24" img class="rounded hover:opacity-80" src=movie.poster figcaption= movie.title hr diff --git a/public/assets/index.css b/public/assets/index.css index 447fe5e..c3f220b 100644 --- a/public/assets/index.css +++ b/public/assets/index.css @@ -1226,6 +1226,14 @@ video { width: 100%; } +.w-3 { + width: 0.75rem; +} + +.w-24 { + width: 6rem; +} + .max-w-3xl { max-width: 48rem; }