我可以在 AMP (加速移动页面)页面中定义一些json并将其用作amp-mustache源吗? 像这样:
<!-- somewhere in header -->
<script async="" custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.1.js"></script>
<!-- somewhere in body -->
<script>
var temp = { text : 'some text goes here ... '; },
</script>
<div type="amp-mustache"> <!-- without src="/some/file/with.json" -->
{{ temp.text }}
</div>