We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77b4d80 commit 95a691bCopy full SHA for 95a691b
static.config.js
@@ -22,7 +22,7 @@ function getPosts () {
22
// Create slug for URL //
23
dataObj.data.slug = dataObj.data.title.toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g, '')
24
// Parse image file name from path //
25
- // dataObj.data.thumbnail = dataObj.data.thumbnail.replace('/src/images/uploads/', '')
+ dataObj.data.thumbnail = dataObj.data.thumbnail.replace('/public/uploads/', '')
26
// Push object into items array //
27
items.push(dataObj)
28
}
0 commit comments