add cover for root site

Amolith created

Change summary

config.yml | 3 ++-
justfile   | 5 +++++
2 files changed, 7 insertions(+), 1 deletion(-)

Detailed changes

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

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"