From 5ce2b6c9ae869e8aa2ad52fe9a8661638c1741ca Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 18:06:21 +0000 Subject: [PATCH 1/4] Initial plan From a1026c714d38956747d972d5731a20baf3f9493c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 18:24:45 +0000 Subject: [PATCH 2/4] Refactor duplicated code in layouts and JavaScript Co-authored-by: adrianmg <589285+adrianmg@users.noreply.github.com> --- _includes/home-scripts.html | 2 ++ _layouts/default.html | 2 +- _layouts/home.html | 52 +++++++++++++++++-------------------- assets/js/s.js | 5 ++-- index.html | 1 + 5 files changed, 31 insertions(+), 31 deletions(-) create mode 100644 _includes/home-scripts.html diff --git a/_includes/home-scripts.html b/_includes/home-scripts.html new file mode 100644 index 0000000..50aba70 --- /dev/null +++ b/_includes/home-scripts.html @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index db3ffd9..b66bd3b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,7 +1,7 @@ {% include head.html %} -
+ {{ content }} \ No newline at end of file diff --git a/_layouts/home.html b/_layouts/home.html index aad54ed..819406f 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -1,32 +1,28 @@ - - -{% include head.html %} - -- For the last 18+ years, I've designed digital products between Madrid, London and now, from - San Francisco. I also co-founded and later sold my company Erasmusu. -
-- My career started as a Software Developer, but it soon became clear that my true passion was Design. - I love combining both skillsets to create products that fulfill a clear purpose. -
-+ For the last 18+ years, I've designed digital products between Madrid, London and now, from + San Francisco. I also co-founded and later sold my company Erasmusu. +
++ My career started as a Software Developer, but it soon became clear that my true passion was Design. + I love combining both skillsets to create products that fulfill a clear purpose. +