Adjust templates for SEO regarding headlines
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<f:variable name="hotelTitle">{hotel.name -> f:format.raw()}{f:if(condition: hotel.categoryLabel, then: ' ({hotel.categoryLabel -> f:format.raw()})')}</f:variable>
|
<f:variable name="hotelTitle">{hotel.name -> f:format.raw()}{f:if(condition: hotel.categoryLabel, then: ' ({hotel.categoryLabel -> f:format.raw()})')}</f:variable>
|
||||||
<f:if condition="{bars}">
|
<f:if condition="{bars}">
|
||||||
<f:then><div class="ep-headbar">{hotelTitle}</div></f:then>
|
<f:then><div class="ep-headbar">{hotelTitle}</div></f:then>
|
||||||
<f:else><h2>{hotelTitle}</h2></f:else>
|
<f:else><h1>{hotelTitle}</h1></f:else>
|
||||||
</f:if>
|
</f:if>
|
||||||
<div class="hotel-details hotel-details--description">
|
<div class="hotel-details hotel-details--description">
|
||||||
{hotel.description -> f:format.html()}
|
{hotel.description -> f:format.html()}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
</f:if>
|
</f:if>
|
||||||
<f:render partial="Detail/Opengraph" arguments="{newsItem: newsItem, settings:settings}" />
|
<f:render partial="Detail/Opengraph" arguments="{newsItem: newsItem, settings:settings}" />
|
||||||
</n:format.nothing>
|
</n:format.nothing>
|
||||||
<h2 class="headline headline--primary headline--underlined" itemprop="headline">{newsItem.title}</h2>
|
<h1 class="headline headline--primary headline--underlined" itemprop="headline">{newsItem.title}</h1>
|
||||||
<p class="blog-entry__info">
|
<p class="blog-entry__info">
|
||||||
<f:if condition="{newsItem.author}">{newsItem.author} am </f:if>
|
<f:if condition="{newsItem.author}">{newsItem.author} am </f:if>
|
||||||
<time itemprop="datePublished" datetime="{f:format.date(date:newsItem.datetime, format:'Y-m-d')}"><f:format.date format="{f:translate(key:'dateFormat')}">{newsItem.datetime}</f:format.date></time>
|
<time itemprop="datePublished" datetime="{f:format.date(date:newsItem.datetime, format:'Y-m-d')}"><f:format.date format="{f:translate(key:'dateFormat')}">{newsItem.datetime}</f:format.date></time>
|
||||||
|
|||||||
@@ -8,13 +8,14 @@
|
|||||||
<f:if condition="{news}">
|
<f:if condition="{news}">
|
||||||
<f:then>
|
<f:then>
|
||||||
<f:if condition="{contentObjectData.header}">
|
<f:if condition="{contentObjectData.header}">
|
||||||
<h2 class="headline headline--primary headline--underlined{f:if(condition: tags, then: ' headline--has-subline')}">
|
<f:if condition="{tags.0}">
|
||||||
<f:if condition="{tags}">
|
<f:then>
|
||||||
<span class="headline__subline">{tags.0.title}</span>
|
<h1 class="headline headline--primary headline--underlined">Blog: {tags.0.title}</h1>
|
||||||
<br>
|
</f:then>
|
||||||
</f:if>
|
<f:else>
|
||||||
{contentObjectData.header}
|
<h1 class="headline headline--primary headline--underlined">Blog</h1>
|
||||||
</h2>
|
</f:else>
|
||||||
|
</f:if>
|
||||||
</f:if>
|
</f:if>
|
||||||
<f:if condition="{settings.hidePagination}">
|
<f:if condition="{settings.hidePagination}">
|
||||||
<f:then>
|
<f:then>
|
||||||
|
|||||||
Reference in New Issue
Block a user