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

View File

@@ -33,6 +33,10 @@ export default class BlogrollEndpoint {
return path.join(__dirname, "locales");
}
get viewsDirectory() {
return path.join(__dirname, "views");
}
get navigationItems() {
return {
href: this.options.mountPath,

View File

@@ -1,6 +1,6 @@
{
"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.",
"keywords": [
"indiekit",