Remove unnecessary whitespace
This commit is contained in:
parent
6cd31a00a3
commit
598949cd0d
4 changed files with 35 additions and 30 deletions
|
@ -1,6 +1,12 @@
|
||||||
config {
|
config {
|
||||||
|
headerComment = Created by Daniel Siepmann.
|
||||||
absRefPrefix = auto
|
absRefPrefix = auto
|
||||||
|
|
||||||
|
# Does not have any effect?
|
||||||
|
# intTarget = _top
|
||||||
|
# extTarget = _blank
|
||||||
|
# fileTarget = _blank
|
||||||
|
|
||||||
spamProtectEmailAddresses = ascii
|
spamProtectEmailAddresses = ascii
|
||||||
spamProtectEmailAddresses_atSubst = | at |
|
spamProtectEmailAddresses_atSubst = | at |
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||||
data-namespace-typo3-fluid="true">
|
data-namespace-typo3-fluid="true">
|
||||||
|
|
||||||
{f:render(partial: 'Header', arguments: _all)}
|
{f:render(partial: 'Header', arguments: _all) -> f:spaceless()}
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<header>
|
<header>
|
||||||
|
@ -15,15 +15,15 @@
|
||||||
compatibleWith: compatibleWith,
|
compatibleWith: compatibleWith,
|
||||||
topics: assignedTopics,
|
topics: assignedTopics,
|
||||||
addLinks: 1
|
addLinks: 1
|
||||||
})}
|
}) -> f:spaceless()}
|
||||||
|
|
||||||
<aside>
|
<aside>
|
||||||
{f:render(section: 'Aside', arguments: _all)}
|
{f:render(section: 'Aside', arguments: _all) -> f:spaceless()}
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
{f:render(section: 'Content', arguments: _all)}
|
{f:render(section: 'Content', arguments: _all)}
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
{f:render(partial: 'Footer', arguments: _all)}
|
{f:render(partial: 'Footer', arguments: _all) -> f:spaceless()}
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||||
data-namespace-typo3-fluid="true">
|
data-namespace-typo3-fluid="true">
|
||||||
|
|
||||||
{f:render(partial: 'Header', arguments: _all)}
|
{f:render(partial: 'Header', arguments: _all) -> f:spaceless()}
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<header>
|
<header>
|
||||||
|
@ -9,13 +9,13 @@
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
{f:render(section: 'Content', arguments: _all)}
|
{f:render(section: 'Content', arguments: _all) -> f:spaceless()}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<aside>
|
<aside>
|
||||||
{f:render(section: 'Aside', arguments: _all)}
|
{f:render(section: 'Aside', arguments: _all) -> f:spaceless()}
|
||||||
</aside>
|
</aside>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
{f:render(partial: 'Footer', arguments: _all)}
|
{f:render(partial: 'Footer', arguments: _all) -> f:spaceless()}
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -28,9 +28,8 @@
|
||||||
|
|
||||||
<f:section name="TopicList">
|
<f:section name="TopicList">
|
||||||
<f:if condition="{topics}">
|
<f:if condition="{topics}">
|
||||||
<p>{headline}
|
<p>{headline} <f:for each="{topics}" as="topic" iteration="i"><f:spaceless>
|
||||||
<f:for each="{topics}" as="topic" iteration="i">
|
<f:render section="Topic"
|
||||||
<f:render section="TopicLink"
|
|
||||||
contentAs="content"
|
contentAs="content"
|
||||||
arguments="{
|
arguments="{
|
||||||
addLinks: addLinks,
|
addLinks: addLinks,
|
||||||
|
@ -39,19 +38,19 @@
|
||||||
>
|
>
|
||||||
{topic.data.title}{f:if(condition: '!{i.isLast}', then: ',')}
|
{topic.data.title}{f:if(condition: '!{i.isLast}', then: ',')}
|
||||||
</f:render>
|
</f:render>
|
||||||
</f:for>
|
</f:spaceless></f:for></p>
|
||||||
</p>
|
|
||||||
</f:if>
|
</f:if>
|
||||||
</f:section>
|
</f:section>
|
||||||
|
|
||||||
<f:section name="TopicLink">
|
<f:section name="Topic">
|
||||||
<f:if condition="{addLinks}">
|
{f:if(
|
||||||
<f:then>
|
condition: addLinks,
|
||||||
|
then: "{f:render(section: 'LinkedTopic', arguments: _all)}",
|
||||||
|
else: content
|
||||||
|
)}
|
||||||
|
</f:section>
|
||||||
|
|
||||||
|
<f:section name="LinkedTopic">
|
||||||
<a href="{f:uri.page(pageUid: 11, additionalParams: {topic: topicUid})}">{content -> f:spaceless()}</a>
|
<a href="{f:uri.page(pageUid: 11, additionalParams: {topic: topicUid})}">{content -> f:spaceless()}</a>
|
||||||
</f:then>
|
|
||||||
<f:else>
|
|
||||||
{content}
|
|
||||||
</f:else>
|
|
||||||
</f:if>
|
|
||||||
</f:section>
|
</f:section>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue