Replies: 1 comment 2 replies
-
@mainrs, I just want to make sure I understand your question correctly. Are you asking if you can serve static HTML without using templating? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Most of my web pages display static data that rarely changes, if ever. Right now I simply query the database and use a template to render the data.
I was wondering if there would be a possibility to hook into the build system and write code to generate these web pages ahead of time. That way I would not have to render them using a template, but can serve the HTML code directly.
Is this currently possible?
For why I keep the data in a database and not use a static site generator: some routes are dynamic and rely on the relationships within the database to correctly link and display the data.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions