add cover for root site

This commit is contained in:
Amolith 2023-04-11 17:33:48 -04:00
parent 62e11dd798
commit 46ed6d00c8
Signed by: Amolith
GPG Key ID: 8AE30347CE28D101
2 changed files with 7 additions and 1 deletions

View File

@ -9,8 +9,9 @@ enableGitInfo: true
enableEmoji: true enableEmoji: true
params: params:
author: Amolith author: Amolith
description: Blog of a pseudonymous netizen description: Amolith's personal corner of the web
gitUrl: "https://git.nixnet.services/Amolith/secluded/commit/" gitUrl: "https://git.nixnet.services/Amolith/secluded/commit/"
cover: /cover.png
contact: contact:
email: amolith@secluded.site email: amolith@secluded.site
pgp: amolith.asc pgp: amolith.asc

View File

@ -82,6 +82,11 @@ images:
fi fi
done 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" ] if [ -z "$todo" ]
then then
echo "No covers to generate" echo "No covers to generate"