diff --git a/Configuration/TypoScript/Setup/Config.typoscript b/Configuration/TypoScript/Setup/Config.typoscript index e841843..a62e48a 100644 --- a/Configuration/TypoScript/Setup/Config.typoscript +++ b/Configuration/TypoScript/Setup/Config.typoscript @@ -1,6 +1,12 @@ config { + headerComment = Created by Daniel Siepmann. absRefPrefix = auto + # Does not have any effect? + # intTarget = _top + # extTarget = _blank + # fileTarget = _blank + spamProtectEmailAddresses = ascii spamProtectEmailAddresses_atSubst = | at | } diff --git a/Resources/Private/Layouts/Page/BlogPost.html b/Resources/Private/Layouts/Page/BlogPost.html index 0b2dd2a..f885483 100644 --- a/Resources/Private/Layouts/Page/BlogPost.html +++ b/Resources/Private/Layouts/Page/BlogPost.html @@ -1,7 +1,7 @@ - {f:render(partial: 'Header', arguments: _all)} + {f:render(partial: 'Header', arguments: _all) -> f:spaceless()}
@@ -15,15 +15,15 @@ compatibleWith: compatibleWith, topics: assignedTopics, addLinks: 1 - })} + }) -> f:spaceless()} {f:render(section: 'Content', arguments: _all)}
- {f:render(partial: 'Footer', arguments: _all)} + {f:render(partial: 'Footer', arguments: _all) -> f:spaceless()} diff --git a/Resources/Private/Layouts/Page/Default.html b/Resources/Private/Layouts/Page/Default.html index 294d2b7..9ff58f3 100644 --- a/Resources/Private/Layouts/Page/Default.html +++ b/Resources/Private/Layouts/Page/Default.html @@ -1,7 +1,7 @@ - {f:render(partial: 'Header', arguments: _all)} + {f:render(partial: 'Header', arguments: _all) -> f:spaceless()}
@@ -9,13 +9,13 @@
- {f:render(section: 'Content', arguments: _all)} + {f:render(section: 'Content', arguments: _all) -> f:spaceless()}
- {f:render(partial: 'Footer', arguments: _all)} + {f:render(partial: 'Footer', arguments: _all) -> f:spaceless()} diff --git a/Resources/Private/Partials/BlogPostHeader.html b/Resources/Private/Partials/BlogPostHeader.html index 268034f..90e3bba 100644 --- a/Resources/Private/Partials/BlogPostHeader.html +++ b/Resources/Private/Partials/BlogPostHeader.html @@ -28,30 +28,29 @@ -

{headline} - - - {topic.data.title}{f:if(condition: '!{i.isLast}', then: ',')} - - -

+

{headline} + + {topic.data.title}{f:if(condition: '!{i.isLast}', then: ',')} + +

- - - - {content -> f:spaceless()} - - - {content} - - + + {f:if( + condition: addLinks, + then: "{f:render(section: 'LinkedTopic', arguments: _all)}", + else: content + )} + + + + {content -> f:spaceless()}