标签: python google-app-engine server-side-includes static-files
是否有一种“模拟”服务器端的好方法,包括在Google App Engine上使用Python?
我真的想将静态html文件分成更小的部分,原因有两个:
答案 0 :(得分:4)
只需使用模板库(Jinja2预先安装在GAE上)。 "Getting started" doc provides examples。
您要使用的是template inheritance,而不是SSI。
答案 1 :(得分:0)
或者使用像django这样的框架,这将有助于继承模板。