ããã¯ãAmrita2ã®æãéè¦ãªæ©è½ã¨è¨ããããããã¾ãããAmrita2ã§ã¯ãã»ã¨ãã©èªåçã«ãã³ãã¬ã¼ããå½éåãããã¨ãã§ãã¾ãã Gettextç¨ã®ãã£ã«ã¿ã¼ããã£ã¦ãããçµã¿è¾¼ãã¨ããã³ãã¬ã¼ãå ã®æååã«å¯¾ãã¦ãèªåçã«_()ãå¼ã³åºãå¦çãè¡ãã¾ãã require "amrita2/template" require "amrita2/gettext" include Amrita2 tmpl_text = <<-END <<html< <<body< <<h1 :title |Attr[:title, :body]>> <<p < Amrita2 is a html template libraly for Ruby. END tmpl = Amrita2::Template.new(tmpl_text) do |e, src, filters| filters <<
{{#tags}}- {{label}}
{{/tags}}