From 8ba8a8b201959c5e6691068bdcaa515edaccc4b3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 17:59:35 +0000 Subject: [PATCH 1/5] Initial plan From 1175dbaa506c5ad079c6bfff78870f7ae57aa708 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 18:15:15 +0000 Subject: [PATCH 2/5] Refactor duplicated code: layouts and date formatting Co-authored-by: adrianmg <589285+adrianmg@users.noreply.github.com> --- _includes/date-format.html | 4 +++ _layouts/default.html | 2 +- _layouts/home.html | 53 ++++++++++++++++++-------------------- _layouts/post.html | 5 +--- blog.html | 5 +--- 5 files changed, 32 insertions(+), 37 deletions(-) create mode 100644 _includes/date-format.html diff --git a/_includes/date-format.html b/_includes/date-format.html new file mode 100644 index 0000000..72127c2 --- /dev/null +++ b/_includes/date-format.html @@ -0,0 +1,4 @@ +{%- assign date_format = include.format | default: "%B %-d, %Y" -%} + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index db3ffd9..5fa71e5 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..4e9f0a2 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -1,32 +1,29 @@ - - -{% include head.html %} - -
-
-
-
-

Adrián Mato

-

Design Director at GitHub Copilot & startup investor.

-

- 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. -

-
+--- +layout: default +--- +
+
+
+
+

Adrián Mato

+

Design Director at GitHub Copilot & startup investor.

+

+ 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. +

- - -
- {% include home-navigation.html %} - {% include home-work.html %} + + + +
+{% include home-navigation.html %} +{% include home-work.html %} - - - - + + diff --git a/_layouts/post.html b/_layouts/post.html index fe847dc..43580be 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -5,10 +5,7 @@
{% if page.title %} diff --git a/blog.html b/blog.html index b22b331..4b5d6e0 100644 --- a/blog.html +++ b/blog.html @@ -9,10 +9,7 @@
  • - + {% include date-format.html date=post.date format="%b %-d %Y" %} {{ post.title }} From e17d3cf60e56128e419cf5abc13785c5d3204a9c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 18:17:59 +0000 Subject: [PATCH 3/5] Fix layout name check in default.html Co-authored-by: adrianmg <589285+adrianmg@users.noreply.github.com> --- _layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 5fa71e5..095eace 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,7 +1,7 @@ {% include head.html %} - + {{ content }} \ No newline at end of file From 52a30661da46e84645701c2753ae9db3f6c3b3c7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 18:19:51 +0000 Subject: [PATCH 4/5] Use page.url check for home class instead of layout.name Co-authored-by: adrianmg <589285+adrianmg@users.noreply.github.com> --- _layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 095eace..da01bd6 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,7 +1,7 @@ {% include head.html %} - + {{ content }} \ No newline at end of file From 70523456558fdf4bf0a9d4552cb54b13cec72258 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 18:21:34 +0000 Subject: [PATCH 5/5] Use page.layout to detect home layout for body class Co-authored-by: adrianmg <589285+adrianmg@users.noreply.github.com> --- _layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index da01bd6..5fa71e5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,7 +1,7 @@ {% include head.html %} - + {{ content }} \ No newline at end of file