Remove unnecessary whitespace

This commit is contained in:
Daniel Siepmann 2020-01-10 16:39:13 +01:00
parent 6cd31a00a3
commit 598949cd0d
4 changed files with 35 additions and 30 deletions

View file

@ -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 |
} }

View file

@ -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>

View file

@ -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>

View file

@ -28,30 +28,29 @@
<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, topicUid: topic.data.uid
topicUid: topic.data.uid }"
}" >
> {topic.data.title}{f:if(condition: '!{i.isLast}', then: ',')}
{topic.data.title}{f:if(condition: '!{i.isLast}', then: ',')} </f:render>
</f:render> </f:spaceless></f:for></p>
</f:for>
</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,
<a href="{f:uri.page(pageUid: 11, additionalParams: {topic: topicUid})}">{content -> f:spaceless()}</a> then: "{f:render(section: 'LinkedTopic', arguments: _all)}",
</f:then> else: content
<f:else> )}
{content} </f:section>
</f:else>
</f:if> <f:section name="LinkedTopic">
<a href="{f:uri.page(pageUid: 11, additionalParams: {topic: topicUid})}">{content -> f:spaceless()}</a>
</f:section> </f:section>
</html> </html>