mirror of https://gitlab.com/curben/blog
parent
4a785a6cf1
commit
0fe5658173
|
@ -23,6 +23,10 @@ module.exports = function (locals) {
|
|||
.sort((a, b) => {
|
||||
return b.updated - a.updated
|
||||
})
|
||||
.map((post) => ({
|
||||
...post,
|
||||
permalink: post.permalink.replace('index.html', '')
|
||||
}))
|
||||
|
||||
// configuration dictionary
|
||||
const xmlConfig = {
|
||||
|
|
Loading…
Reference in New Issue