From b60376ba73069501c2715771a31bb22ae1b5293f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 6 May 2022 02:21:07 +0200 Subject: move Jekyll options to _config.yml --- Makefile | 6 ++++-- _config.yml | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 19408d7..70731d0 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/blog/ diff --git a/_config.yml b/_config.yml index f584ec3..00de698 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,9 @@ # Jekyll baseurl: /blog +host: 0.0.0.0 +open_url: true +show_drafts: true +strict_front_matter: true exclude: - Gemfile -- cgit v1.2.3