fix: rename reader layout to ap-reader.njk to avoid microsub collision
Nunjucks resolves template names across all registered plugin view directories. Both @rmdes/indiekit-endpoint-microsub and this plugin had views/layouts/reader.njk, causing the microsub layout to be loaded instead — which meant Alpine.js, reader CSS, and all timeline content were missing from the rendered page.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@rmdes/indiekit-endpoint-activitypub",
|
"name": "@rmdes/indiekit-endpoint-activitypub",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.",
|
"description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"indiekit",
|
"indiekit",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends "layouts/reader.njk" %}
|
{% extends "layouts/ap-reader.njk" %}
|
||||||
|
|
||||||
{% from "heading/macro.njk" import heading with context %}
|
{% from "heading/macro.njk" import heading with context %}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends "layouts/reader.njk" %}
|
{% extends "layouts/ap-reader.njk" %}
|
||||||
|
|
||||||
{% from "heading/macro.njk" import heading with context %}
|
{% from "heading/macro.njk" import heading with context %}
|
||||||
{% from "prose/macro.njk" import prose with context %}
|
{% from "prose/macro.njk" import prose with context %}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends "layouts/reader.njk" %}
|
{% extends "layouts/ap-reader.njk" %}
|
||||||
|
|
||||||
{% from "heading/macro.njk" import heading with context %}
|
{% from "heading/macro.njk" import heading with context %}
|
||||||
{% from "prose/macro.njk" import prose with context %}
|
{% from "prose/macro.njk" import prose with context %}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends "layouts/reader.njk" %}
|
{% extends "layouts/ap-reader.njk" %}
|
||||||
|
|
||||||
{% from "heading/macro.njk" import heading with context %}
|
{% from "heading/macro.njk" import heading with context %}
|
||||||
{% from "prose/macro.njk" import prose with context %}
|
{% from "prose/macro.njk" import prose with context %}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends "layouts/reader.njk" %}
|
{% extends "layouts/ap-reader.njk" %}
|
||||||
|
|
||||||
{% from "heading/macro.njk" import heading with context %}
|
{% from "heading/macro.njk" import heading with context %}
|
||||||
{% from "prose/macro.njk" import prose with context %}
|
{% from "prose/macro.njk" import prose with context %}
|
||||||
|
|||||||
Reference in New Issue
Block a user