Add rss feed as alternate link
Properly mark the rss feed link.
This commit is contained in:
parent
6f1f36aaea
commit
d8eb401e5b
2 changed files with 15 additions and 1 deletions
|
@ -23,3 +23,17 @@ plugin.tx_seo {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
page {
|
||||
headerData {
|
||||
10 = TEXT
|
||||
10 {
|
||||
wrap = <link rel="alternate" title="RSS Feed of all blog posts" type="application/rss+xml" href="|" />
|
||||
typolink {
|
||||
parameter = t3://page?uid=1
|
||||
additionalParams = &type=1533906435&sitemap=rssFeedAllBlogPosts
|
||||
returnLast = url
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true">
|
||||
<nav>
|
||||
<a href="{f:uri.page(pageUid: 1, pageType: 1533906435, additionalParams: {sitemap: 'rssFeedAllBlogPosts'})}">RSS Feed</a>
|
||||
<a rel="alternate" title="RSS Feed of all blog posts" type="application/rss+xml" href="{f:uri.page(pageUid: 1, pageType: 1533906435, additionalParams: {sitemap: 'rssFeedAllBlogPosts'})}">RSS Feed</a>
|
||||
<a rel="me" href="https://fosstodon.org/@daniels">at Mastodon</a>
|
||||
<a href="https://gitea.daniel-siepmann.de/danielsiepmann">My Gitea</a>
|
||||
<f:for each="{pages}" as="page">
|
||||
|
|
Loading…
Reference in a new issue