mirror of
https://github.com/svemagie/indiekit-endpoint-blogroll.git
synced 2026-04-02 15:34:59 +02:00
fix: add missing viewsDirectory getter for Indiekit to find templates
This commit is contained in:
4
index.js
4
index.js
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user