Closed jerryniepan closed 5 years ago
I want to make the Frontend developer use pug in frontend . Then use Joker/jade transtering the pug to tpl for golang .
Variables work only in compile to Golang code mode.
In https://github.com/Joker/jade/blob/master/testdata/v2/attributes.go
url = "https://example.com/" // line 30
buffer.WriteString(`<a href="`)
WriteEscString(url, buffer)
buffer.WriteString(`">Another link</a>`)
In https://github.com/Joker/jade/blob/master/testdata/v2/attributes.tpl
how to use for golang below?