From 49d3c200924c73063f6c647f7a64d0557b6a98e5 Mon Sep 17 00:00:00 2001 From: ryzy Date: Thu, 6 Nov 2014 16:03:35 +0000 Subject: [PATCH] Page head: font awesome link moved to the site package --- Resources/Private/TypoScript/Neos/Page.ts2 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Resources/Private/TypoScript/Neos/Page.ts2 b/Resources/Private/TypoScript/Neos/Page.ts2 index 70b6ac4..2a36e5b 100644 --- a/Resources/Private/TypoScript/Neos/Page.ts2 +++ b/Resources/Private/TypoScript/Neos/Page.ts2 @@ -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 { - stylesheets.@process.fontAwesome = ${value + ''} - } - 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}