-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Page head: font awesome link moved to the site package
- Loading branch information
Showing
1 changed file
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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} | ||
|
||
|