Render custom canonical tag
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
tmp.canonical = TEXT
|
||||||
|
tmp.canonical {
|
||||||
|
typolink.parameter.data = TSFE:id
|
||||||
|
typolink.returnLast = url
|
||||||
|
wrap = <link rel="canonical" href="{$plugin.tx_eptheme.settings.canonicalBaseUrl}|"/>
|
||||||
|
}
|
||||||
|
|
||||||
page = PAGE
|
page = PAGE
|
||||||
page {
|
page {
|
||||||
meta {
|
meta {
|
||||||
@@ -139,6 +146,9 @@ page {
|
|||||||
</script>
|
</script>
|
||||||
)
|
)
|
||||||
headerData.999.stdWrap.if.isTrue = {$plugin.tx_eptheme.settings.googleTagManagerId}
|
headerData.999.stdWrap.if.isTrue = {$plugin.tx_eptheme.settings.googleTagManagerId}
|
||||||
|
|
||||||
|
headerData.100 < tmp.canonical
|
||||||
|
headerData.100.insertData = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
[applicationContext = Development]
|
[applicationContext = Development]
|
||||||
|
|||||||
@@ -106,6 +106,8 @@ plugin.tx_eptheme {
|
|||||||
googleMapsJsApiUrl = https://maps.googleapis.com/maps/api/js?key=AIzaSyDDOforD1O_j4xXy2nJybC2yQqbUAw9ClY
|
googleMapsJsApiUrl = https://maps.googleapis.com/maps/api/js?key=AIzaSyDDOforD1O_j4xXy2nJybC2yQqbUAw9ClY
|
||||||
# cat=eptheme/300/120; type=string; label=Google Maps Js API Url
|
# cat=eptheme/300/120; type=string; label=Google Maps Js API Url
|
||||||
googleMapsApiKey = AIzaSyDDOforD1O_j4xXy2nJybC2yQqbUAw9ClY
|
googleMapsApiKey = AIzaSyDDOforD1O_j4xXy2nJybC2yQqbUAw9ClY
|
||||||
|
# cat=eptheme/300/130; type=string; label=Canonical base URL/Domain
|
||||||
|
canonicalBaseUrl = https://www.ep-reisen.de
|
||||||
|
|
||||||
# cat=eptheme.events/700/100; type=string; label=Event date day from
|
# cat=eptheme.events/700/100; type=string; label=Event date day from
|
||||||
eventDateDayFrom =
|
eventDateDayFrom =
|
||||||
|
|||||||
Reference in New Issue
Block a user