全体を括れば、変数のように使える。有っても無くてもエラーにならない。
<script src="//gnjo.github.io/riot.js"></script>
<system>
<header>{today}</header>
<aricle>xxx</aricle>
<footer>{copyright}{owner}</footer>
</system>
riot.tag('system', false, function(opts) {
this.copyright = new Date().toISOString().slice(0,'YYYY'.length)
this.today=new Date().toISOString();
this.owner='gnjo'
})
riot.mount('*')
;