-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚀 [Feature]: fiber/middleware/filesystem - support for templating #2104
Comments
It does not provide the full options and configurability of the filesystem middleware. Eg directory listing |
Can you provide an example/code snippet |
Why to want filesystem middleware for templating? It's just for serving files |
The files I want to serve are mostly html files with some placeholders inside for a templating engine to substitute. |
Feature Description
I am embedding a html file using the filesystem middleware.
There is currently no support to add some templating.
It would be good to inject some simple variables into the html file.
Additional Context (optional)
No response
Code Snippet (optional)
No response
Checklist:
The text was updated successfully, but these errors were encountered: