From e3ad7c7d9bcdac7e5751c9d591b35030f72a7fc4 Mon Sep 17 00:00:00 2001 From: vonavi Date: Mon, 7 Jul 2014 14:32:16 +0300 Subject: [PATCH] Collect SCSS files into a collection to suppress them from being added to Jekyll::Page. --- _config.yml | 7 +++++++ {assets/css => _scss}/pgn4web.scss | 0 {assets/css => _scss}/table.custom.scss | 0 {assets/css => _scss}/tour-info.scss | 0 4 files changed, 7 insertions(+) rename {assets/css => _scss}/pgn4web.scss (100%) rename {assets/css => _scss}/table.custom.scss (100%) rename {assets/css => _scss}/tour-info.scss (100%) diff --git a/_config.yml b/_config.yml index 4e60b10..dc57ce4 100644 --- a/_config.yml +++ b/_config.yml @@ -8,5 +8,12 @@ keep_files: ['.gitkeep'] encoding: UTF-8 +# Collect SCSS files into a collection to suppress them from being +# added to Jekyll::Page +collections: + scss: + output: true + permalink: /assets/css/:path.css + sass: style: :compressed diff --git a/assets/css/pgn4web.scss b/_scss/pgn4web.scss similarity index 100% rename from assets/css/pgn4web.scss rename to _scss/pgn4web.scss diff --git a/assets/css/table.custom.scss b/_scss/table.custom.scss similarity index 100% rename from assets/css/table.custom.scss rename to _scss/table.custom.scss diff --git a/assets/css/tour-info.scss b/_scss/tour-info.scss similarity index 100% rename from assets/css/tour-info.scss rename to _scss/tour-info.scss