Skip to content

Commit

Permalink
[BUGFIX] Use excludedDoktypes to hide the email template page type in…
Browse files Browse the repository at this point in the history
… the sitemap

Related: #25
  • Loading branch information
ochorocho committed Sep 22, 2023
1 parent 77b06bb commit fb06721
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Configuration/TypoScript/setup.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,18 @@ plugin.tx_form_custom_templates {
templatePath = EXT:form_custom_templates/Resources/Private/Frontend/Partials/ResultTable
}
}

plugin.tx_seo {
config {
xmlSitemap {
sitemaps {
pages {
config {
# Exclude the email template page type from showing up in the sitemap
excludedDoktypes := addToList({$plugin.tx_form_custom_templates.doktype})
}
}
}
}
}
}

0 comments on commit fb06721

Please sign in to comment.