From 751b2f02b37a7826f0798a7d71cdaa7375a35550 Mon Sep 17 00:00:00 2001 From: Devin Haska <2636402+wonderfulfrog@users.noreply.github.com> Date: Sat, 23 Nov 2024 15:00:00 -0800 Subject: [PATCH] feat: update index and book/game templates --- src/_includes/layouts/book.html | 9 ++++++--- src/_includes/layouts/game.html | 9 ++++++--- src/index.html | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/_includes/layouts/book.html b/src/_includes/layouts/book.html index 14633f5..0917592 100644 --- a/src/_includes/layouts/book.html +++ b/src/_includes/layouts/book.html @@ -37,7 +37,10 @@ Back to books -
- {{ content | safe }} -
+{% if content %} +
+
+ {{ content | safe }} +
+{% endif %} {{ format(page.date) }} diff --git a/src/_includes/layouts/game.html b/src/_includes/layouts/game.html index 2b25818..bcaeec7 100644 --- a/src/_includes/layouts/game.html +++ b/src/_includes/layouts/game.html @@ -37,7 +37,10 @@ Back to games -
- {{ content | safe }} -
+{% if content %} +
+
+ {{ content | safe }} +
+{% endif %} {{ format(page.date) }} diff --git a/src/index.html b/src/index.html index 3484d59..9b82cd9 100644 --- a/src/index.html +++ b/src/index.html @@ -8,7 +8,7 @@ permalink: /

Hello! My name is Devin.

I'm a creative developer who specializes in web and mobile development.

- Welcome to my little slice of the internet. I like to write and catalogue things. There's a lot to explore, and I hope you have fun! + Welcome to my little slice of the internet. I like to write and catalogue things. Games, books, movies, and and more! There's a lot to explore, and I hope you have fun!

If you're interested, I have an about page all about me!