Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-10-07 04:55:40 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-10-07 04:55:40 +0300
commita83cc9517a0e515188b03f9b7fcac88e3c986179 (patch)
tree2168dcd8f71460878d212645ff2e6ef0de2811ae /Rules
parent9d050cbce8fac6d10cb716c7761d9f209234d990 (diff)
Improve styling, move around some assets, make a proof of concept home page.
Diffstat (limited to 'Rules')
-rw-r--r--Rules8
1 files changed, 7 insertions, 1 deletions
diff --git a/Rules b/Rules
index 475bddfc..ab4e90b0 100644
--- a/Rules
+++ b/Rules
@@ -13,11 +13,17 @@ compile '/**/*.md' do
layout '/default.*'
end
-compile '/content/stylesheet.scss' do
+compile '/**/*.scss' do
filter :sass, syntax: :scss
write item.identifier.without_ext + '.css'
end
+compile '/index.*' do
+ filter :erb
+ layout '/default.*'
+ write '/index.html'
+end
+
route '/**/*.scss' do
item.identifier.without_ext + '.css'
end