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 %} -
-
-
-
-

{{ page.herotitle }}

-

{{ page.herotext }}

- Watch Now -
-
-
-{% 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 %}