From 6e773d130115ef04a265d91d96f361b5f230b73c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 11 Jan 2022 19:34:13 +0000 Subject: [PATCH] chore: move social avatar image --- app/config/sculpin_site.yml | 2 +- source/_pages/index.md | 2 +- .../default/files => }/images/social-avatar.jpg | Bin .../images/nginx/root/etc/nginx/conf.d/default.conf | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) rename source/{sites/default/files => }/images/social-avatar.jpg (100%) diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index ec32f4c0..1e663d15 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -3,7 +3,7 @@ description: Lead Software Developer. Freelancer. Drupal and PHP specialist. locale: en-GB avatar: - url: '/sites/default/files/images/social-avatar.jpg' + path: "/images/social-avatar.jpg" drupalorg: name: opdavies diff --git a/source/_pages/index.md b/source/_pages/index.md index debc2689..a778c793 100644 --- a/source/_pages/index.md +++ b/source/_pages/index.md @@ -12,7 +12,7 @@ meta: {% set yearsOfExperience = thisYear - site.experience.start_year %}
-
Picture of Oliver
+
Picture of Oliver
Hi, I’m Oliver. I’m a {{ site.work.role }} for {{ site.work.company.name }} and a Full Stack Software Consultant based in South Wales in the UK. I work with organisations, agencies, and freelance Developers to deliver high-quality websites and web applications, utilising tools and workflows such as continuous integration and deployment, automated testing, and static analysis. diff --git a/source/sites/default/files/images/social-avatar.jpg b/source/images/social-avatar.jpg similarity index 100% rename from source/sites/default/files/images/social-avatar.jpg rename to source/images/social-avatar.jpg diff --git a/tools/docker/images/nginx/root/etc/nginx/conf.d/default.conf b/tools/docker/images/nginx/root/etc/nginx/conf.d/default.conf index 9f496b91..92157fd0 100644 --- a/tools/docker/images/nginx/root/etc/nginx/conf.d/default.conf +++ b/tools/docker/images/nginx/root/etc/nginx/conf.d/default.conf @@ -308,6 +308,7 @@ map $uri $new_uri { ~^/rss/?$ /rss.xml; ~^/s9MjJ/?$ https://symfonycasts.com/screencast/symfony; ~^/sculpin-encore-versioning/?$ https://github.com/opdavies/oliverdavies.uk/commit/d192b04aefa6e7a21bfc1f2e0fe0a16111e0e8a2; + ~^/sites/default/files/images/social-avatar.jpg /images/social-avatar.jpg; ~^/skills/?$ https://opdavies-skills-tailwindcss.netlify.com/; ~^/slides-drupal-9/?$ https://slides-upgrading-to-drupal-9.oliverdavies.uk; ~^/slides-upgrading-to-drupal-9/?$ https://slides-upgrading-to-drupal-9.oliverdavies.uk;