Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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: