aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-05-06 02:23:13 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-05-06 02:23:13 +0200
commit019ba984ba2769c804cfae725b93c3aceff338f9 (patch)
tree3ec8d770d47ea3fb1775500a84a2209535a1259a
parentbump dependencies (diff)
downloadwireguard-config-019ba984ba2769c804cfae725b93c3aceff338f9.tar.gz
wireguard-config-019ba984ba2769c804cfae725b93c3aceff338f9.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 d6c6d61..bc21bd0 100644
--- a/Makefile
+++ b/Makefile
@@ -38,13 +38,15 @@ npm:
.PHONY: all-deps
all-deps: deps npm
+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/wireguard-config/
diff --git a/_config.yml b/_config.yml
index bf843f7..049b293 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,5 +1,9 @@
# Jekyll
baseurl: /wireguard-config
+host: 0.0.0.0
+open_url: true
+show_drafts: true
+strict_front_matter: true
exclude:
- Makefile