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" },
|
# { 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…
Add table
Reference in a new issue