Merge pull request #82 from aloisdg/patch-1
Simplify string interpolation
This commit is contained in:
commit
360ddfcc09
@ -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