m (Text replacement - "$page" to "$class") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#slottemplates: ws-base-props | {{FULLPAGENAME}} | $base }}<!-- | {{#slottemplates: ws-base-props | {{FULLPAGENAME}} | $base }}<!-- | ||
-->{{#slottemplates: ws-class-props | {{FULLPAGENAME}} | $class }}<!-- | -->{{#slottemplates: ws-class-props | {{FULLPAGENAME}} | $class }}<!-- | ||
+ | -->{{#slottemplates: ws-seo| {{FULLPAGENAME}} | $seo }}<!-- | ||
+ | |||
+ | // workaround to get the seo parser tag working on the main slot | ||
+ | -->{{#if: {{#caprint:$seo[SEO]}} |{{SEO | ||
+ | |Title={{#caprint:$seo[SEO][Title]}} | ||
+ | |Title mode={{#caprint:$seo[SEO][Title mode]}} | ||
+ | |Title separator={{#caprint:$seo[SEO][Title separator]}} | ||
+ | |Keywords={{#caprint:$seo[SEO][Keywords]}} | ||
+ | |Description={{#caprint:$seo[SEO][Description]}} | ||
+ | |||
+ | |Robots={{#caprint:$seo[SEO][Robots]}} | ||
+ | |Googlebot={{#caprint:$seo[SEO][Googlebot]}} | ||
+ | |||
+ | |Type={{#caprint:$seo[SEO][Type]}} | ||
+ | |Image={{#caprint:$seo[SEO][Image]}} | ||
+ | |Image alt={{#caprint:$seo[SEO][Image alt]}} | ||
+ | |Image width={{#caprint:$seo[SEO][Image width]}} | ||
+ | |Image height={{#caprint:$seo[SEO][Image height]}} | ||
+ | |Locale={{#caprint:$seo[SEO][Locale]}} | ||
+ | |Site name={{#caprint:$seo[SEO][Site name]}} | ||
+ | |||
+ | |Author={{#caprint:$seo[SEO][Author]}} | ||
+ | |Section={{#caprint:$seo[SEO][Section]}} | ||
+ | |Published time={{#caprint:$seo[SEO][Published time]}} | ||
+ | }} }}<!-- | ||
--><div>{{#ifingroup: user |<span style="float:right">{{#widget:Button link |type=a |href={{fullurl:{{FULLPAGENAME}} |veaction=edit}} |buttontext=Bewerken |class=btn btn-secondary}}</span> }} | --><div>{{#ifingroup: user |<span style="float:right">{{#widget:Button link |type=a |href={{fullurl:{{FULLPAGENAME}} |veaction=edit}} |buttontext=Bewerken |class=btn btn-secondary}}</span> }} | ||
<h1>{{#if:{{#caprint:$base[Base properties][Title]}} |{{#caprint:$base[Base properties][Title]}} |{{#getdisplaytitle:{{FULLPAGENAME}} }} }}</h1> | <h1>{{#if:{{#caprint:$base[Base properties][Title]}} |{{#caprint:$base[Base properties][Title]}} |{{#getdisplaytitle:{{FULLPAGENAME}} }} }}</h1> | ||
</div> | </div> |