From af659ec6dfad2c7622b8a3ef72436ceeabf50df3 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 12 Oct 2021 11:27:53 -0300 Subject: Build Jekyll output directly to public/ --- Makefile | 11 ++--------- _config.yml | 2 ++ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index cbcadf9..86c36ba 100644 --- a/Makefile +++ b/Makefile @@ -8,17 +8,10 @@ check: dev-check: check clean: - rm -rf public/ _site/ + rm -rf public/ public: - # sh aux/workflow/public.sh website website public-inbox - JEKYLL_ENV=production jekyll build --trace - rsync -a _site/ public + jekyll build publish: public rsync -avzP public/ euandre.org:/home/user-data/www/default/ --delete - -serve: - JEKYLL_ENV=production jekyll serve --future --livereload --trace - -.PHONY: clean check dev-check publish serve diff --git a/_config.yml b/_config.yml index 5b56f0f..0db3b05 100644 --- a/_config.yml +++ b/_config.yml @@ -6,6 +6,8 @@ author: name: EuAndreh email: eu@euandre.org +destination: public/ + langs: ['en', 'pt', 'fr', 'eo'] permalink: /:year/:month/:day/:title:output_ext -- cgit v1.3