From 74cea901d61de720454c460b8cac8d78f91598c2 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Fri, 13 Sep 2024 20:24:04 -0700 Subject: [PATCH] Use Prettier on the output we deploy Just as like, an extra little step in case people decide to View Source our blog. Doesn't really matter! But hey, feels polite all else equal! (The main thing I noticed is the indentation, which is always a mess in templating systems like Liquid with injecting content into layouts.) --- 404.html | 74 +++++++++++++++++++++++++------------------------- _bin/deploy.sh | 3 ++ 2 files changed, 40 insertions(+), 37 deletions(-) diff --git a/404.html b/404.html index e1b9683..5306ecd 100644 --- a/404.html +++ b/404.html @@ -1,41 +1,41 @@ - - The page you were looking for doesn't exist (404) - - + + The page you were looking for doesn't exist (404) + + - -
-

The page you were looking for doesn't exist.

-

You may have mistyped the address or the page may have moved.

-
- A Ghost Acara wearing the 404 Shirt - + +
+

The page you were looking for doesn't exist.

+

You may have mistyped the address or the page may have moved.

+
+ A Ghost Acara wearing the 404 Shirt + diff --git a/_bin/deploy.sh b/_bin/deploy.sh index f447258..09bf911 100755 --- a/_bin/deploy.sh +++ b/_bin/deploy.sh @@ -1,2 +1,5 @@ #!/usr/bin/env bash +set -e +bundle exec jekyll build +npx prettier@3.3.3 -w --ignore-path= _site sftp blog.openneo.net <<< 'put -r _site/* /srv/blog.openneo.net'