From 0b30446686f56496b6525f5dcc307674334f6353 Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Sun, 25 Oct 2015 17:49:14 +0800 Subject: [PATCH] feat(template): disable `jekyll-last-modified-at` for dev mod for better performance --- _app/_includes/themes/curtana/layouts/post.html | 2 +- _config.dev.yml | 6 ++++++ _config.init.yml | 3 +++ _config.yml | 3 +++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/_app/_includes/themes/curtana/layouts/post.html b/_app/_includes/themes/curtana/layouts/post.html index ef5a1c7f7..2b1516876 100644 --- a/_app/_includes/themes/curtana/layouts/post.html +++ b/_app/_includes/themes/curtana/layouts/post.html @@ -90,7 +90,7 @@

Updated diff --git a/_config.dev.yml b/_config.dev.yml index f3865c23c..ed77ab1cc 100644 --- a/_config.dev.yml +++ b/_config.dev.yml @@ -9,6 +9,9 @@ exclude: [] # Almace Scaffolding settings # +# Enable development mode +dev: true + # Reset base to root for localhost development base: null @@ -17,3 +20,6 @@ file: http://sparanoid.s3-website-us-east-1.amazonaws.com # Force UTF-8 since local server doesn't send charset in their respond header force_utf_8: true + +# Disalbe custom gems (jekyll-last-modified-at) for better performance +gems: [] diff --git a/_config.init.yml b/_config.init.yml index 7c0d25493..98e096c08 100644 --- a/_config.init.yml +++ b/_config.init.yml @@ -58,6 +58,9 @@ redcarpet: # Almace Scaffolding settings # +# Development mode +dev: false + # Site name name: Almace Scaffolding diff --git a/_config.yml b/_config.yml index 3fcbc4ffa..ed8a47b92 100644 --- a/_config.yml +++ b/_config.yml @@ -65,6 +65,9 @@ gems: # Almace Scaffolding settings # +# Development mode +dev: false + # Site name name: Almace Scaffolding