The stylesheet_tags() method includes each of the specified files in link tags. This method is most useful if your view requires custom or third-party CSS.
Warning: Never inject user input into stylesheet_tags() calls.
stylesheet_tags( files , compile , media )
|
files |
Array |
List of files to be included in link tags. |
|
compile |
Boolean |
Deprectated |
|
media |
String |
(Optional) Media type:
|
<%page args="h"/><%inherit file="//layout/view.html"/>
<%namespace name="lib" file="//lib.html" import="*"/>
<%lib:stylesheet_tags files="${['/static/css/foo.css', '/static/css/bar.css']}" />