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 39870c6..af210fe 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 d92df32..3b8304a 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"