aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-05-06 02:20:02 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-05-06 02:20:02 +0200
commit4c0f39a8438b79d0f5ba75d8e340c6d636f44663 (patch)
treed2e9755cb577fbba2ad1dcb7d6ce17979fe60987
parentbump dependencies (diff)
downloadegor-tensin.github.io-4c0f39a8438b79d0f5ba75d8e340c6d636f44663.tar.gz
egor-tensin.github.io-4c0f39a8438b79d0f5ba75d8e340c6d636f44663.zip
move Jekyll options to _config.yml
Diffstat (limited to '')
-rw-r--r--Makefile6
-rw-r--r--_config.yml6
2 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e08ed54..ead804e 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/
diff --git a/_config.yml b/_config.yml
index 702f79f..b29ca75 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,4 +1,10 @@
# Jekyll
+baseurl: ''
+host: 0.0.0.0
+open_url: true
+show_drafts: true
+strict_front_matter: true
+
exclude:
- Gemfile
- Gemfile.lock