aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-05-06 02:24:09 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-05-06 02:24:09 +0200
commit81c13ac0ec5727f92e21d716c857289d17f163fe (patch)
tree404578752f5242b3f97c69b5d00ba9083be3ddc0
parentbump dependencies (diff)
downloadsorting-algorithms-81c13ac0ec5727f92e21d716c857289d17f163fe.tar.gz
sorting-algorithms-81c13ac0ec5727f92e21d716c857289d17f163fe.zip
move Jekyll options to _config.yml
Diffstat (limited to '')
-rw-r--r--Makefile6
-rw-r--r--_config.yml4
2 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6e21dd9..3d8b653 100644
--- a/Makefile
+++ b/Makefile
@@ -31,13 +31,15 @@ ruby:
deps: ruby
bundle install
+jekyll := bundle exec jekyll
+
.PHONY: build
build:
- bundle exec jekyll build --drafts
+ $(jekyll) build
.PHONY: serve
serve:
- bundle exec jekyll serve --drafts --host 0.0.0.0
+ $(jekyll) serve
URL := http://localhost:4000/sorting-algorithms/
diff --git a/_config.yml b/_config.yml
index 29bbb4a..e5bc7db 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,5 +1,9 @@
# Jekyll
baseurl: /sorting-algorithms
+host: 0.0.0.0
+open_url: true
+show_drafts: true
+strict_front_matter: true
exclude:
- Gemfile