From 42926f61f8968d58038b065e5835dee03fa4ed00 Mon Sep 17 00:00:00 2001 From: A Date: Wed, 1 Apr 2026 20:24:36 +0100 Subject: [PATCH 1/5] Removed old includes and layouts --- README.md | 6 ++++- _config.dev.yml | 22 ++++++++++++++++++ _includes/hero.html | 30 ------------------------ _includes/video-carousel.html | 4 ++-- _layouts/blog-cards.html | 33 --------------------------- _layouts/post.html | 2 +- categories/companies/crossproducts.md | 3 +-- 7 files changed, 31 insertions(+), 69 deletions(-) create mode 100644 _config.dev.yml delete mode 100644 _includes/hero.html delete mode 100644 _layouts/blog-cards.html diff --git a/README.md b/README.md index f0f102d36..13cb38b10 100644 --- a/README.md +++ b/README.md @@ -118,4 +118,8 @@ bundle install ## Run Locally To preview the site on your machine: * Run `jekyll serve --livereload` from the project root. -* Open [http://localhost:4000](http://localhost:4000) in your browser. \ No newline at end of file +* Open [http://localhost:4000](http://localhost:4000) in your browser. + +For faster local iteration while writing content: +* Run `jekyll serve --config _config.yml,_config.dev.yml --livereload` +* This disables redirect generation locally, which reduces rebuild fan-out. \ No newline at end of file diff --git a/_config.dev.yml b/_config.dev.yml new file mode 100644 index 000000000..3fd6849d3 --- /dev/null +++ b/_config.dev.yml @@ -0,0 +1,22 @@ +# Development-only overrides for faster local iteration. +# The difference is it doesn't generate the redirects. +# Use with: jekyll serve --config _config.yml,_config.dev.yml --livereload + +plugins: + - jekyll-include-cache + +whitelist: + - jekyll-include-cache + +# Keep local output lean. +exclude: + - _site.backup + - templates + - node_modules + - tmp + - .cache + - .DS_Store + - scripts + - .github + - .git + - .vscode diff --git a/_includes/hero.html b/_includes/hero.html deleted file mode 100644 index b3fa10343..000000000 --- a/_includes/hero.html +++ /dev/null @@ -1,30 +0,0 @@ -{% if page.heroimage %} -
-
-
- -
-
-{% endif %} -{% if page.herocarousel %} -
- -
-{% endif %} diff --git a/_includes/video-carousel.html b/_includes/video-carousel.html index b1c312ce2..0b59364e0 100644 --- a/_includes/video-carousel.html +++ b/_includes/video-carousel.html @@ -1,7 +1,7 @@ -{% if page.videocarousel %} +{% if include.videocarousel %}