aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-05-06 02:16:30 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-05-06 02:16:30 +0200
commitbd4ccf4abafb7348a0034b1b0030c735d0f45817 (patch)
tree8b08febbc3800eedd52f3e80b7802554f0a14bd0
parentbump dependencies (diff)
downloadjekyll-theme-bd4ccf4abafb7348a0034b1b0030c735d0f45817.tar.gz
jekyll-theme-bd4ccf4abafb7348a0034b1b0030c735d0f45817.zip
move Jekyll options to _config.yml
-rw-r--r--Makefile6
-rw-r--r--_config.yml4
2 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c8ce164..c0214f0 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/jekyll-theme/
diff --git a/_config.yml b/_config.yml
index c12a5ab..298fcfd 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,5 +1,9 @@
# Jekyll
baseurl: /jekyll-theme
+host: 0.0.0.0
+open_url: true
+show_drafts: true
+strict_front_matter: true
exclude:
- Gemfile