From 46ed6d00c824ddbc90573d777200da3557d99c66 Mon Sep 17 00:00:00 2001 From: Amolith Date: Tue, 11 Apr 2023 17:33:48 -0400 Subject: [PATCH] add cover for root site --- config.yml | 3 ++- justfile | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config.yml b/config.yml index 39870c691308a4502cbca1b64b8e4f93ada48f83..af210fea953ad56f34e484cfa12f3e9f41b1a47e 100644 --- a/config.yml +++ b/config.yml @@ -9,8 +9,9 @@ enableGitInfo: true enableEmoji: true params: author: Amolith - description: Blog of a pseudonymous netizen + description: Amolith's personal corner of the web gitUrl: "https://git.nixnet.services/Amolith/secluded/commit/" + cover: /cover.png contact: email: amolith@secluded.site pgp: amolith.asc diff --git a/justfile b/justfile index d92df32ab8bacc5df2dbe99d0ebb8dd4dbce32f9..3b8304ab8029d4281f39775cb5329b39cb4f527b 100644 --- a/justfile +++ b/justfile @@ -82,6 +82,11 @@ images: fi done + if [ "content/_index.md" -nt "public/cover.png" ] + then + p2c -o public/cover.png -t "A Secluded Home" -s "Amolith's personal corner of the web" + fi + if [ -z "$todo" ] then echo "No covers to generate"