|
@@ -5,6 +5,7 @@ import {
|
|
|
imageToWebP,
|
|
imageToWebP,
|
|
|
optimiseSvg,
|
|
optimiseSvg,
|
|
|
renderTemplate,
|
|
renderTemplate,
|
|
|
|
|
+ renderIndex,
|
|
|
renderMarkdownToHtml,
|
|
renderMarkdownToHtml,
|
|
|
generateTaxonomy,
|
|
generateTaxonomy,
|
|
|
} from "./actions/index.js"
|
|
} from "./actions/index.js"
|
|
@@ -186,7 +187,7 @@ export const tasks = [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "render author indexes",
|
|
name: "render author indexes",
|
|
|
- action: renderTemplate,
|
|
|
|
|
|
|
+ action: renderIndex,
|
|
|
jobConfig: {
|
|
jobConfig: {
|
|
|
stateSelectors: ["resources.author-taxonomy.detail"],
|
|
stateSelectors: ["resources.author-taxonomy.detail"],
|
|
|
outputFileExtension: ".html",
|
|
outputFileExtension: ".html",
|
|
@@ -196,14 +197,13 @@ export const tasks = [
|
|
|
},
|
|
},
|
|
|
actionConfig: {
|
|
actionConfig: {
|
|
|
writeOut: true,
|
|
writeOut: true,
|
|
|
- template: "index",
|
|
|
|
|
templateDirs: ["templates/", "~/.rhedyn/templates/"],
|
|
templateDirs: ["templates/", "~/.rhedyn/templates/"],
|
|
|
partialDirs: ["partials/", "~/.rhedyn/partials/"],
|
|
partialDirs: ["partials/", "~/.rhedyn/partials/"],
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "render tag indexes",
|
|
name: "render tag indexes",
|
|
|
- action: renderTemplate,
|
|
|
|
|
|
|
+ action: renderIndex,
|
|
|
jobConfig: {
|
|
jobConfig: {
|
|
|
stateSelectors: ["resources.tag-taxonomy.detail"],
|
|
stateSelectors: ["resources.tag-taxonomy.detail"],
|
|
|
outputFileExtension: ".html",
|
|
outputFileExtension: ".html",
|
|
@@ -213,14 +213,13 @@ export const tasks = [
|
|
|
},
|
|
},
|
|
|
actionConfig: {
|
|
actionConfig: {
|
|
|
writeOut: true,
|
|
writeOut: true,
|
|
|
- template: "index",
|
|
|
|
|
templateDirs: ["templates/", "~/.rhedyn/templates/"],
|
|
templateDirs: ["templates/", "~/.rhedyn/templates/"],
|
|
|
partialDirs: ["partials/", "~/.rhedyn/partials/"],
|
|
partialDirs: ["partials/", "~/.rhedyn/partials/"],
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "render blog home",
|
|
name: "render blog home",
|
|
|
- action: renderTemplate,
|
|
|
|
|
|
|
+ action: renderIndex,
|
|
|
jobConfig: {
|
|
jobConfig: {
|
|
|
stateSelectors: ["resources.blog-latest.detail"],
|
|
stateSelectors: ["resources.blog-latest.detail"],
|
|
|
outputFileExtension: ".html",
|
|
outputFileExtension: ".html",
|
|
@@ -232,7 +231,6 @@ export const tasks = [
|
|
|
},
|
|
},
|
|
|
actionConfig: {
|
|
actionConfig: {
|
|
|
writeOut: true,
|
|
writeOut: true,
|
|
|
- template: "index",
|
|
|
|
|
templateDirs: ["templates/", "~/.rhedyn/templates/"],
|
|
templateDirs: ["templates/", "~/.rhedyn/templates/"],
|
|
|
partialDirs: ["partials/", "~/.rhedyn/partials/"],
|
|
partialDirs: ["partials/", "~/.rhedyn/partials/"],
|
|
|
title: "Blog",
|
|
title: "Blog",
|