morphodo/fortawesome-fontawesome

FontAwesome Bundle for TYPO3 Flow

1.0.1 2013-01-16 21:43 UTC

README

Author: Michael Klapper <development@morphodo.com>Description:TYPO3 Flow package to ship the FortAwesome/FontAwesome CSS framework

Description

Provides the awesome CSS framework "FontAwesome" to your project.

Include FontAwesome into your template

Add the namespace declaration to the top of your layout:

{namespace awesome=Morphodo\FortAwesome\FontAwesome\ViewHelpers}

Then add the following line to your <head> section

<awesome:include />

Alternative way to include FontAwesome

Instead of using the view helpers, you can also include the needed CSS or JavaScript files with the following lines in your Fluid Template:

<link href="{f:uri.resource(path: '3.0.1/css/font-awesome.min.css', package: 'Morphodo.FortAwesome.FontAwesome')}" media="screen" rel="stylesheet" type="text/css" />
<link href="{f:uri.resource(path: '3.0.1/css/font-awesome-ie7.min.css', package: 'Morphodo.FortAwesome.FontAwesome')}" media="screen" rel="stylesheet" type="text/css" />