Skip to content

v0.15.1

Choose a tag to compare

@Ethosa Ethosa released this 13 May 06:03
· 1217 commits to master since this release

Changelog

  • variables in SSG routes:
    serve(...):
      var counter = 0
      get "/":
        "counter = {counter}"
      post "/":
        inc counter
        "success"
  • improve cycle scopes in buildHtml macro:
    for i in 0..10:
      tButton:
        "click me"
        @click:
          echo i
  • fix attributes in buildHtml macro:
    tButton(myAttr="val"):
      myAttr1 = "other val"
      @click:
        echo "click is onclick attr"