From 04915a8a5317e7d2674d4b179819ec7f04d18b5d Mon Sep 17 00:00:00 2001 From: chomik Date: Mon, 26 Feb 2018 16:12:47 +0100 Subject: [PATCH 1/3] gh pages script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index a0c4e658c..d5705aacc 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "gulp-build": "gulp build", "jekyll-watch": "jekyll build --watch", "jekyll-serve": "jekyll serve --livereload", + "gh-pages": "./gh-pages.sh", "dist": "gulp build && jekyll build --destination dist", "watch": "gulp build && npm-run-all --parallel gulp-watch jekyll-watch", From dbef94ae1b5dd29f13e06e0369dbf4f17646c0e5 Mon Sep 17 00:00:00 2001 From: chomik Date: Mon, 26 Feb 2018 16:15:01 +0100 Subject: [PATCH 2/3] head generated date --- src/_includes/head.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/_includes/head.html b/src/_includes/head.html index 7cc545cb5..d49c0b4d6 100644 --- a/src/_includes/head.html +++ b/src/_includes/head.html @@ -12,5 +12,7 @@ + + {% if page.title %}{{ page.title }} - {% endif %}{% if layout.title %}{{ layout.title }} - {% endif %}{{ site.description }} From 25bf7d70d06ccc8513c54d08b78c43311bf2ac6c Mon Sep 17 00:00:00 2001 From: chomik Date: Mon, 26 Feb 2018 16:16:44 +0100 Subject: [PATCH 3/3] package json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d5705aacc..2d963b071 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "jekyll-serve": "jekyll serve --livereload", "gh-pages": "./gh-pages.sh", - "dist": "gulp build && jekyll build --destination dist", + "dist": "gulp build && JEKYLL_ENV=production jekyll build --destination dist && ./gh-pages.sh", "watch": "gulp build && npm-run-all --parallel gulp-watch jekyll-watch", "serve": "gulp build && npm-run-all --parallel gulp-watch jekyll-serve" },