fix: add missing viewsDirectory getter for Indiekit to find templates
This commit is contained in:
@@ -33,6 +33,10 @@ export default class BlogrollEndpoint {
|
|||||||
return path.join(__dirname, "locales");
|
return path.join(__dirname, "locales");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get viewsDirectory() {
|
||||||
|
return path.join(__dirname, "views");
|
||||||
|
}
|
||||||
|
|
||||||
get navigationItems() {
|
get navigationItems() {
|
||||||
return {
|
return {
|
||||||
href: this.options.mountPath,
|
href: this.options.mountPath,
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@rmdes/indiekit-endpoint-blogroll",
|
"name": "@rmdes/indiekit-endpoint-blogroll",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Blogroll endpoint for Indiekit. Aggregates blog feeds from OPML, JSON feeds, or manual entry.",
|
"description": "Blogroll endpoint for Indiekit. Aggregates blog feeds from OPML, JSON feeds, or manual entry.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"indiekit",
|
"indiekit",
|
||||||
|
|||||||
Reference in New Issue
Block a user