Permalink
Browse files

added Assetics asset management for CSS

  • Loading branch information...
dsyph3r committed Sep 6, 2011
1 parent 1eeb79d commit f181c528d748e78ada4744691332d3d54e0daf84
@@ -9,7 +9,12 @@
{% block stylesheets %}
<link href='http://fonts.googleapis.com/css?family=Irish+Grover' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=La+Belle+Aurore' rel='stylesheet' type='text/css'>
<link href="{{ asset('css/screen.css') }}" type="text/css" rel="stylesheet" />
{% stylesheets
'css/*'
filter='?yui_css'
%}
<link href="{{ asset_url }}" rel="stylesheet" media="screen" />
{% endstylesheets %}
{% endblock %}
<link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
</head>
View
@@ -30,8 +30,8 @@ assetic:
cssrewrite: ~
# closure:
# jar: %kernel.root_dir%/java/compiler.jar
# yui_css:
# jar: %kernel.root_dir%/java/yuicompressor-2.4.2.jar
yui_css:
jar: %kernel.root_dir%/Resources/java/yuicompressor-2.4.6.jar
# Doctrine Configuration
doctrine:
@@ -1,9 +1,15 @@
{% extends '::base.html.twig' %}
{% block stylesheets %}
{{ parent() }}
<link href="{{ asset('bundles/bloggerblog/css/blog.css') }}" type="text/css" rel="stylesheet" />
<link href="{{ asset('bundles/bloggerblog/css/sidebar.css') }}" type="text/css" rel="stylesheet" />
{{ parent () }}
{% stylesheets
'@BloggerBlogBundle/Resources/public/css/*'
output='css/blogger.css'
filter='?yui_css'
%}
<link href="{{ asset_url }}" rel="stylesheet" media="screen" />
{% endstylesheets %}
{% endblock %}
{% block sidebar %}
View
@@ -1,5 +1,5 @@
<IfModule mod_rewrite.c>
#RewriteBase /
RewriteBase /
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
View

This file was deleted.

Oops, something went wrong.

0 comments on commit f181c52

Please sign in to comment.