From c57ebf3acaccc70f4ac01bb677ea08ff4092885e Mon Sep 17 00:00:00 2001 From: Chris Buckley Date: Mon, 23 Mar 2026 00:07:48 +0000 Subject: [PATCH 1/6] Properly use _data folder for global config --- _ci/fingerprints.sh | 2 -- _data/global/navigation.yml | 13 ++++++++++++- _data/global/social.yml | 14 +++++++++++++- _includes/header.html | 20 +------------------- _includes/navigation.yml | 12 ------------ _includes/social.html | 14 ++------------ _includes/social.yml | 13 ------------- _includes/v.html | 3 +-- 8 files changed, 29 insertions(+), 62 deletions(-) mode change 120000 => 100644 _data/global/navigation.yml mode change 120000 => 100644 _data/global/social.yml delete mode 100644 _includes/navigation.yml delete mode 100644 _includes/social.yml diff --git a/_ci/fingerprints.sh b/_ci/fingerprints.sh index 5edbeb40..b75a09e2 100755 --- a/_ci/fingerprints.sh +++ b/_ci/fingerprints.sh @@ -20,6 +20,4 @@ for data in "${files[@]}"; do echo "$id: $(md5sum "_site/$file" | cut -c1-8)" >> $fingerprints done -sed -i'' "s/fingerprints = '[^']*'/fingerprints = '$(grep -vF . $fingerprints | tr '\n' ',' | sed 's/,$//')'/" _includes/v.html - git add $fingerprints _includes/v.html diff --git a/_data/global/navigation.yml b/_data/global/navigation.yml deleted file mode 120000 index 41a95ac4..00000000 --- a/_data/global/navigation.yml +++ /dev/null @@ -1 +0,0 @@ -../../_includes/navigation.yml \ No newline at end of file diff --git a/_data/global/navigation.yml b/_data/global/navigation.yml new file mode 100644 index 00000000..66282d24 --- /dev/null +++ b/_data/global/navigation.yml @@ -0,0 +1,12 @@ + - title: Home + url: / + - title: CV + url: /cv/ + - title: Contact + url: /contact/ + - title: Blog + url: /blog/ + - title: Interests + url: /interests/ + - title: Projects + url: /projects/ diff --git a/_data/global/social.yml b/_data/global/social.yml deleted file mode 120000 index 38f3ef14..00000000 --- a/_data/global/social.yml +++ /dev/null @@ -1 +0,0 @@ -../../_includes/social.yml \ No newline at end of file diff --git a/_data/global/social.yml b/_data/global/social.yml new file mode 100644 index 00000000..d305dcdd --- /dev/null +++ b/_data/global/social.yml @@ -0,0 +1,13 @@ +pgp: 2A57 C8E4 6506 FABA +keybase: cmbuckley +hackerone: cmbuckley +github: cmbuckley +linkedin: cmbuckley +email: chris@cmbuckley.co.uk +x: _cmbuckley +facebook: cmbuckley +fbid: 61201039 +instagram: c.m.buckley +amazon: https://bux.re/amzn +mastodon: cmbuckley@mastodon.social +bsky: cmbuckley.co.uk diff --git a/_includes/header.html b/_includes/header.html index 8e6a36a7..5a0c22fe 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -7,30 +7,12 @@