Skip to content
Snippets Groups Projects
Commit b701b8b9 authored by Tim Wagner's avatar Tim Wagner
Browse files

[BUGFIX] Whitespace Alignment

parent 51c6d044
No related branches found
No related tags found
1 merge request!10Add schema for news overview
......@@ -6,18 +6,18 @@
<f:alias map="{leftBrace: '{', rightBrace: '}'}">
<script type="application/ld+json">
{leftBrace}
"@context": "http://schema.org/",
"@type": "ItemList",
"itemListElement": [
<f:for each="{newsMetaData}" as="newsMetaDataEntry" iteration="iterator">
{leftBrace}
"@type": "ListItem",
"position": "{iterator.cycle}",
"url": "<f:uri.page pageUid="{newsMetaDataEntry.news.uid}" absolute="TRUE"/>"
{rightBrace}<f:if condition="{iterator.isLast} == FALSE">,</f:if>
</f:for>
],
"numberOfItems": "{newsMetaData->f:count()}"
"@context": "http://schema.org/",
"@type": "ItemList",
"itemListElement": [
<f:for each="{newsMetaData}" as="newsMetaDataEntry" iteration="iterator">
{leftBrace}
"@type": "ListItem",
"position": "{iterator.cycle}",
"url": "<f:uri.page pageUid="{newsMetaDataEntry.news.uid}" absolute="TRUE"/>"
{rightBrace}<f:if condition="{iterator.isLast} == FALSE">,</f:if>
</f:for>
],
"numberOfItems": "{newsMetaData->f:count()}"
{rightBrace}
</script>
</f:alias>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment