Add album slug
This commit is contained in:
parent
645c0a5daf
commit
af52557429
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "publikator",
|
"name": "publikator",
|
||||||
"version": "0.13.0",
|
"version": "0.14.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": "https://github.com/aengl/publikator.git",
|
"repository": "https://github.com/aengl/publikator.git",
|
||||||
"author": "Lynn Smeria <ae@cephea.de>",
|
"author": "Lynn Smeria <ae@cephea.de>",
|
||||||
|
|
|
@ -92,6 +92,7 @@ module.exports = {
|
||||||
{
|
{
|
||||||
path: newPath,
|
path: newPath,
|
||||||
audio_url: `/assets/albums/${folderName}/${fileName}`,
|
audio_url: `/assets/albums/${folderName}/${fileName}`,
|
||||||
|
album_slug: folderName,
|
||||||
slug: stripExtension(fileName),
|
slug: stripExtension(fileName),
|
||||||
},
|
},
|
||||||
coverPath
|
coverPath
|
||||||
|
|
Loading…
Reference in a new issue