Skip to content

Commit

Permalink
Page head: font awesome link moved to the site package
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzy committed Nov 6, 2014
1 parent dced9a2 commit 49d3c20
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Resources/Private/TypoScript/Neos/Page.ts2
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@ prototype(TYPO3.Neos:Page) {
# Define short nodeType name (without package prefix)
@override.nodeTypeShort = ${String.toLowerCase(String.substr(q(node).property('_nodeType.name'), 1+String.lastIndexOf(q(node).property('_nodeType.name'), ':')))}

head {
[email protected] = ${value + '<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">'}
}

bodyTag {
# Add custom properties/attributes from M12.Foundation:AbstractDevBase
attributes {
attributes = TYPO3.TypoScript:Attributes {
class = TYPO3.TypoScript:RawArray {
layout = ${q(node).property('layout')}
layout = ${q(node).property('layout') ? 'layout-'+q(node).property('layout') : 'layout-default'}
customLook = ${q(node).property('customLook') ? q(node).property('customLook')+' '+nodeTypeShort+'-'+q(node).property('customLook') : null}
customClass = ${q(node).property('customCssClass') ? q(node).property('customCssClass') : null}

Expand Down

0 comments on commit 49d3c20

Please sign in to comment.