Server side includes alternative

后端 未结 6 1261
你的背包
你的背包 2020-12-16 21:02

I have a static site hosted on GitHub Pages which is starting to grow in size. Normally I would use server side includes (

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-16 21:26

    Use templates and preprocess them at build time (as opposed to run time). You could set them up to build as a git commit hook.

    There are a lot of tools for doing this listed here, I'm fond of ttree.

提交回复
热议问题