私はpugを使うのが初めてです。私が基本的に達成したいのは、これをpugコードに変換することです。 これは私のコードですが、コンパイル時にエラーが発生します。 #home
h1 Blog Posts
- var _posts = [_site.posts]
ul.blog
each post in _posts
li
span
私は、pypugjsをインストールsettings.pyに追加し、それが正常に動作しますが、私はパグのミックスインにオブジェクトを渡すためにしようとしているとき - Could not parse the remainder: '{age:20' from '{age:20' mixin card(data)
div #{data}
+card({age:20, name
私はPyPugJsをPyramidに使用しようとしています。私__init.pyインサイド 、私はindexルートへ行くしようとすると、このエラーが発生します。この config.include('pypugjs.ext.pyramid')
@view_defaults(renderer='json')
class St2Views:
"""docstring for St2Vie