Skip to content

Commit

Permalink
fix: docs url on sidebar (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
joewinger authored Sep 26, 2023
1 parent 8c52c00 commit 5eff3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/routes/sitemap.xsl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default defineEventHandler(async (e) => {
const isShowingCanonical = typeof canonicalQuery !== 'undefined' && canonicalQuery !== 'false'

const conditionalTips = [
'You are looking at a <a href="https://developer.mozilla.org/en-US/docs/Web/XSLT/Transforming_XML_with_XSLT/An_Overview" style="color: #398465" target="_blank">XML stylesheet</a>. Read the <a href="nuxtseo.com/sitemap/guides/customising-ui" style="color: #398465" target="_blank">docs</a> to learn how to customize it.',
'You are looking at a <a href="https://developer.mozilla.org/en-US/docs/Web/XSLT/Transforming_XML_with_XSLT/An_Overview" style="color: #398465" target="_blank">XML stylesheet</a>. Read the <a href="https://nuxtseo.com/sitemap/guides/customising-ui" style="color: #398465" target="_blank">docs</a> to learn how to customize it.',
`URLs missing? Check the <a href="${withQuery('/api/__sitemap__/debug', { sitemap: sitemapName })}" style="color: #398465" target="_blank">debug endpoint</a>`,
]
if (!isShowingCanonical) {
Expand Down

0 comments on commit 5eff3ad

Please sign in to comment.