Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sn0n
54 days ago
|
parent
|
context
|
favorite
| on:
Plain Vanilla Web
I missed the part where they show how to do something similar to ejs or PHP HTML includes for things like header.html and footer.html.
laurentlb
54 days ago
[–]
That's how I wrote my website a long time ago.
#include "header.htm" <h1>Title</h1> ... #include "footer.htm"
I'm still using it, and I wonder when I'll be able to get rid of PHP.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: