SImplify string interpolation
Quick refacto
This commit is contained in:
parent
70ac88bac8
commit
076abee9e6
@ -30,7 +30,7 @@ const siteMetadata = require('../data/siteMetadata')
|
||||
const route = path === '/index' ? '' : path
|
||||
return `
|
||||
<url>
|
||||
<loc>${`${siteMetadata.siteUrl}${route}`}</loc>
|
||||
<loc>${siteMetadata.siteUrl}${route}</loc>
|
||||
</url>
|
||||
`
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user