Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Fix for custom blog entry folder names #74

Merged
merged 1 commit into from
Jun 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function createBlog(title, subtitle, pagetitle, folder) {
fs.writeFile(`${outDir}/blog/${folder}/index.html`, '<!DOCTYPE html>'+window.document.documentElement.outerHTML, async function (error){
if (error) throw error;
var blog_data = {
"url_title": pagetitle,
"url_title": folder,
"title": title,
"sub_title": subtitle,
"top_image": "https://images.unsplash.com/photo-1553748024-d1b27fb3f960?w=1450",
Expand Down