From 2e4e13e9bc45cc8bbab1fe9abdf5beefb237d629 Mon Sep 17 00:00:00 2001 From: Pascal Wilbrink Date: Thu, 22 Feb 2024 22:44:57 +0100 Subject: [PATCH] Feat: Added download script to jekyll --- .github/workflows/jekyll.yml | 5 +++++ Gemfile | 1 + _config.yml | 7 +++++++ 3 files changed, 13 insertions(+) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 03ae53b..5a10dc3 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -33,6 +33,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - uses: actions/setup-node@v4 + - name: Install NPM dependencies + run: cd scripts && npm ci + - name: Run Download script + run: cd scripts && npm run download - name: Setup Ruby uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0 with: diff --git a/Gemfile b/Gemfile index 9131596..c4dc205 100644 --- a/Gemfile +++ b/Gemfile @@ -7,3 +7,4 @@ gem 'kramdown' gem 'rouge' gem 'jekyll-toc' gem "webrick", "~> 1.8" +gem 'jekyll-optional-front-matter' diff --git a/_config.yml b/_config.yml index bc1cd35..e58e7a1 100644 --- a/_config.yml +++ b/_config.yml @@ -37,6 +37,12 @@ defaults: path: "assets/images" values: image: true + - scope: + path: "" + values: + layout: "default" + cover: "home" + # Sass settings sass: @@ -62,3 +68,4 @@ plugins: - jekyll-feed - jekyll-sitemap - jekyll-toc + - jekyll-optional-front-matter