fix: add missing viewsDirectory getter for Indiekit to find templates

This commit is contained in:
Ricardo
2026-02-07 11:22:59 +01:00
parent 8344a59b76
commit 8d3cde4eb2
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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
View File
@@ -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",