From af52557429e6c3cd1a939fdd72678f08407d1a06 Mon Sep 17 00:00:00 2001 From: Lynn Smeria Date: Wed, 29 Aug 2018 15:41:10 +0200 Subject: [PATCH] Add album slug --- package.json | 2 +- src/organise.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f6fbb52..4e0a2f4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "publikator", - "version": "0.13.0", + "version": "0.14.0", "main": "index.js", "repository": "https://github.com/aengl/publikator.git", "author": "Lynn Smeria ", diff --git a/src/organise.js b/src/organise.js index de084e9..f1c37bc 100644 --- a/src/organise.js +++ b/src/organise.js @@ -92,6 +92,7 @@ module.exports = { { path: newPath, audio_url: `/assets/albums/${folderName}/${fileName}`, + album_slug: folderName, slug: stripExtension(fileName), }, coverPath