Skip to content

docs: document server_middleware filter with example#366

Merged
stevenjoezhang merged 1 commit into
hexojs:masterfrom
VibhorGautam:docs/server-middleware-example
Jul 6, 2026
Merged

docs: document server_middleware filter with example#366
stevenjoezhang merged 1 commit into
hexojs:masterfrom
VibhorGautam:docs/server-middleware-example

Conversation

@VibhorGautam

Copy link
Copy Markdown
Contributor

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
@stevenjoezhang stevenjoezhang merged commit ba9c107 into hexojs:master Jul 6, 2026
0 of 10 checks passed
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.

2 participants