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:if condition="{bars}">
|
||||
<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>
|
||||
<div class="hotel-details hotel-details--description">
|
||||
{hotel.description -> f:format.html()}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
</f:if>
|
||||
<f:render partial="Detail/Opengraph" arguments="{newsItem: newsItem, settings:settings}" />
|
||||
</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">
|
||||
<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>
|
||||
|
||||
@@ -8,13 +8,14 @@
|
||||
<f:if condition="{news}">
|
||||
<f:then>
|
||||
<f:if condition="{contentObjectData.header}">
|
||||
<h2 class="headline headline--primary headline--underlined{f:if(condition: tags, then: ' headline--has-subline')}">
|
||||
<f:if condition="{tags}">
|
||||
<span class="headline__subline">{tags.0.title}</span>
|
||||
<br>
|
||||
</f:if>
|
||||
{contentObjectData.header}
|
||||
</h2>
|
||||
<f:if condition="{tags.0}">
|
||||
<f:then>
|
||||
<h1 class="headline headline--primary headline--underlined">Blog: {tags.0.title}</h1>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<h1 class="headline headline--primary headline--underlined">Blog</h1>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:if>
|
||||
<f:if condition="{settings.hidePagination}">
|
||||
<f:then>
|
||||
|
||||
Reference in New Issue
Block a user