2008年8月28日 星期四

using static files

using css:
add  following lines in yaml
- url: /stylesheets
  static_dir: stylesheets

add a directory stylesheets under project directory 
css files are in this directory

add following lines in html
<head>
   <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
 </head>

沒有留言: