Skip to content

r:include_stylesheet

joshrcook edited this page Oct 1, 2014 · 1 revision

<r:include_stylesheet />

Stylesheets should be stored in the stylesheets directory.

For a stylesheet in your stylesheets directory called styles.css, you would use the following code.

<r:include_stylesheet name="styles" />

The name is the name of the stylesheet without the .css extension.

You can also include more than one stylesheet by seperating them by commas. For example, if you had three stylesheets called main.css, ie.css, and bootstrap.css, you would include them like this:

<r:include_stylesheet name="main, ie, bootstrap" />

For files in subdirectories inside your stylesheets directory, just include them like this:

<r:include_stylesheet name="path/to/stylesheet" />