update theme / author links
This commit is contained in:
parent
2c17785f95
commit
5d837f4ae0
3 changed files with 37 additions and 7 deletions
25
.backup-git-pre-push-hook
Executable file
25
.backup-git-pre-push-hook
Executable file
|
@ -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" },
|
||||
# { flickr = "https://www.flickr.com/photos/username/" },
|
||||
# { foursquare = "https://foursquare.com/username" },
|
||||
# { github = "https://github.com/oe7drt" },
|
||||
# { gitlab = "https://gitlab.com/username" },
|
||||
{ github = "https://git.oe7drt.com/dominic" },
|
||||
{ github = "https://github.com/oe7drt" },
|
||||
# { gitlab = "https://gitlab.com/username" },
|
||||
# { codeberg = "https://codeberg.org/dominic" },
|
||||
{ github = "https://codeberg.org/dominic" },
|
||||
# { github = "https://git.oe7drt.com/dominic" },
|
||||
# { google = "https://www.google.com/" },
|
||||
# { hashnode = "https://username.hashnode.dev" },
|
||||
# { instagram = "https://instagram.com/username" },
|
||||
|
@ -44,7 +46,7 @@ dateFormat = "2 January 2006"
|
|||
# { kickstarter = "https://www.kickstarter.com/profile/username" },
|
||||
# { lastfm = "https://lastfm.com/user/username" },
|
||||
# { linkedin = "https://linkedin.com/in/username" },
|
||||
{ mastodon = "https://fedi.oe7drt.com/@dominic" },
|
||||
# { mastodon = "https://fedi.oe7drt.com/@dominic" },
|
||||
# { medium = "https://medium.com/username" },
|
||||
# { microsoft = "https://www.microsoft.com/" },
|
||||
# { orcid = "https://orcid.org/userid" },
|
||||
|
|
|
@ -11,9 +11,12 @@
|
|||
# colorScheme = "sapphire"
|
||||
# colorScheme = "avocado"
|
||||
# colorScheme = "cherry"
|
||||
colorScheme = "ocean"
|
||||
defaultAppearance = "dark" # valid options: light or dark
|
||||
autoSwitchAppearance = true
|
||||
# colorScheme = "ocean"
|
||||
# defaultAppearance = "light"
|
||||
# autoSwitchAppearance = false
|
||||
colorScheme = "sapphire"
|
||||
defaultAppearance = "light" # valid options: light or dark
|
||||
autoSwitchAppearance = false
|
||||
|
||||
enableSearch = true
|
||||
enableCodeCopy = true
|
||||
|
|
Loading…
Reference in a new issue