update theme / author links

main
Dominic Reich 2 years ago
parent 2c17785f95
commit 5d837f4ae0
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -0,0 +1,25 @@
#!/bin/bash
if ! [ -f ~/.cloudflarerc ] ; then
echo "No ~/.cloudflarerc file found. Cloudflare clear cache SKIPPED."
exit 0
fi
. ~/.cloudflarerc
echo -n "Clearing cloudflare cache..."
ret="$(curl -s -X DELETE "https://api.cloudflare.com/client/v4/zones/$id/purge_cache" \
-H "Authorization: Bearer $apikey" \
-H "Content-Type: application/json" \
--data '{"purge_everything":true}')"
if [ -n "$(echo $ret | grep success)" ] ; then
echo " Success!"
else
echo " *** FAILED ***"
echo "Could not clear cloudflare's cache. Update will not proceed."
# exit with 1, so the update does not proceed, so we will know
exit 1
fi

@ -34,9 +34,11 @@ dateFormat = "2 January 2006"
# { facebook = "https://facebook.com/username" }, # { facebook = "https://facebook.com/username" },
# { flickr = "https://www.flickr.com/photos/username/" }, # { flickr = "https://www.flickr.com/photos/username/" },
# { foursquare = "https://foursquare.com/username" }, # { foursquare = "https://foursquare.com/username" },
# { github = "https://github.com/oe7drt" }, { github = "https://github.com/oe7drt" },
# { gitlab = "https://gitlab.com/username" }, # { gitlab = "https://gitlab.com/username" },
{ github = "https://git.oe7drt.com/dominic" }, # { codeberg = "https://codeberg.org/dominic" },
{ github = "https://codeberg.org/dominic" },
# { github = "https://git.oe7drt.com/dominic" },
# { google = "https://www.google.com/" }, # { google = "https://www.google.com/" },
# { hashnode = "https://username.hashnode.dev" }, # { hashnode = "https://username.hashnode.dev" },
# { instagram = "https://instagram.com/username" }, # { instagram = "https://instagram.com/username" },
@ -44,7 +46,7 @@ dateFormat = "2 January 2006"
# { kickstarter = "https://www.kickstarter.com/profile/username" }, # { kickstarter = "https://www.kickstarter.com/profile/username" },
# { lastfm = "https://lastfm.com/user/username" }, # { lastfm = "https://lastfm.com/user/username" },
# { linkedin = "https://linkedin.com/in/username" }, # { linkedin = "https://linkedin.com/in/username" },
{ mastodon = "https://fedi.oe7drt.com/@dominic" }, # { mastodon = "https://fedi.oe7drt.com/@dominic" },
# { medium = "https://medium.com/username" }, # { medium = "https://medium.com/username" },
# { microsoft = "https://www.microsoft.com/" }, # { microsoft = "https://www.microsoft.com/" },
# { orcid = "https://orcid.org/userid" }, # { orcid = "https://orcid.org/userid" },

@ -11,9 +11,12 @@
# colorScheme = "sapphire" # colorScheme = "sapphire"
# colorScheme = "avocado" # colorScheme = "avocado"
# colorScheme = "cherry" # colorScheme = "cherry"
colorScheme = "ocean" # colorScheme = "ocean"
defaultAppearance = "dark" # valid options: light or dark # defaultAppearance = "light"
autoSwitchAppearance = true # autoSwitchAppearance = false
colorScheme = "sapphire"
defaultAppearance = "light" # valid options: light or dark
autoSwitchAppearance = false
enableSearch = true enableSearch = true
enableCodeCopy = true enableCodeCopy = true

Loading…
Cancel
Save