javascriptextjs / micolog

Automatically exported from code.google.com/p/micolog
MIT License
0 stars 1 forks source link

theme_files.py 的替代方案 #93

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
模板文件还是放在 themes/theme_name/templates 
里,而静态文件则放在 themes/theme_name/static 目录
在 app.yaml 里加入:

- url: /themes/(.*)/(.*)
  static_files: themes/\1/static/\2
  upload: themes/(.*)/static/(.*)

我的 Tublog 原先是用你的 theme_files.py 
的,现在替换成以上方案,经测试没有问题。

Original issue reported on code.google.com by iWinux on 17 Aug 2010 at 4:19

GoogleCodeExporter commented 8 years ago
theme_files.py 的功能是为了支持zip打包形式的主题包吧,
不过这样的性能好不好,值不值得是另外一个讨论问题了,��
�呵

Original comment by LJX...@gmail.com on 29 Sep 2010 at 1:39