SImplify string interpolation

Quick refacto
This commit is contained in:
Aloïs de Gouvello authored and GitHub committed 2021-06-20 08:56:12 +02:00
1 parent 70ac88bac8
commit 076abee9e6
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ const siteMetadata = require('../data/siteMetadata')
const route = path === '/index' ? '' : path const route = path === '/index' ? '' : path
return ` return `
<url> <url>
<loc>${`${siteMetadata.siteUrl}${route}`}</loc> <loc>${siteMetadata.siteUrl}${route}</loc>
</url> </url>
` `
}) })