Skip to content

docs: document server_middleware filter with example#366

Open
VibhorGautam wants to merge 1 commit into
hexojs:masterfrom
VibhorGautam:docs/server-middleware-example
Open

docs: document server_middleware filter with example#366
VibhorGautam wants to merge 1 commit into
hexojs:masterfrom
VibhorGautam:docs/server-middleware-example

Conversation

@VibhorGautam

Copy link
Copy Markdown

The server_middleware filter is registered by hexo-server, but the README does not mention it. The only example lived in the core api/filter docs, which is misleading since the filter does not run without hexo-server installed (hexojs/site#2325).

This adds a Middleware section to the README explaining the filter and showing the X-Powered-By example. A companion docs PR (hexojs/site) trims the core filter page to point here.

No code changes.

@VibhorGautam VibhorGautam force-pushed the docs/server-middleware-example branch from 012ecb6 to dce797f Compare June 6, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant