Added test for sassassets module

This commit is contained in:
Sebastian 2016-11-11 00:26:15 +01:00
parent f5cd71a7ec
commit 5bf557b427
3 changed files with 16 additions and 1 deletions

10
content/test.scss Normal file
View File

@ -0,0 +1,10 @@
@mixin border-radius($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
-ms-border-radius: $radius;
border-radius: $radius;
}
.box {
@include border-radius(10px);
}

View File

@ -5,6 +5,7 @@ from verdandi.modules.page import Page
from verdandi.modules.commonassets import CommonAssets
from verdandi.modules.newsfeed import NewsFeed
from verdandi.modules.gallery import Gallery
from verdandi.modules.sassassets import SassAssets
class TestPage1(Page):
title = "A cool new Page"
@ -33,6 +34,9 @@ class Assets(CommonAssets):
('img/', 'img/files')]
class Styles(SassAssets):
assets = [('test.scss', 'css/test.css'),]
class News(NewsFeed):
title = "New News"
url = "news.html"
@ -51,6 +55,7 @@ class TestBlog(Verdandi):
TestPage2(),
TestPage3(),
Assets(),
Styles(),
News(),
TestGallery()]

@ -1 +1 @@
Subproject commit 46afdfb24188f6333d0f1093d0296cb1df41e319
Subproject commit a0ebf841c92f5882304ac94deab80f0245c8e849