|
|
|
@ -139,7 +139,7 @@ export default class Render {
|
|
|
|
|
type: DataEvent.PAGES_RENDERED,
|
|
|
|
|
message: 'All Pages Rendered. Sweet.'
|
|
|
|
|
};
|
|
|
|
|
//utils.moveAssets();
|
|
|
|
|
//move theme assets to public when pages are rendered
|
|
|
|
|
new Utils().moveAssets();
|
|
|
|
|
resolve(response);
|
|
|
|
|
}
|
|
|
|
@ -174,6 +174,10 @@ export default class Render {
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Method to extract, group and render tags in page
|
|
|
|
|
* @parameter pages: payload for site pages
|
|
|
|
|
*/
|
|
|
|
|
publishTags(pages) {
|
|
|
|
|
let self = this;
|
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
@ -241,6 +245,10 @@ export default class Render {
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Method to build page that lists all active pages, organized by year and month
|
|
|
|
|
* @parameter pages: payload for site pages
|
|
|
|
|
*/
|
|
|
|
|
publishArchive(archive) {
|
|
|
|
|
settings
|
|
|
|
|
.load(SETTINGS_FILE)
|
|
|
|
|