Hamlet: A type-safe Haml template engine for Go
1–10 of 42 posts
Re: Hamlet: A type-safe Haml template engine for Go
#2Re: Hamlet: A type-safe Haml template engine for Go
#3In this case that would be accomplished by supporting the following instead:
@hmlt HomePage() {
%SiteLayout
%p This is the home page for Hamlet.
}
Which is much cleaner IMO.Re: Hamlet: A type-safe Haml template engine for Go
#4Re: Hamlet: A type-safe Haml template engine for Go
#5The example has left me with a strong impression I should avoid this and HAML. That syntax frightens me.
Both SLIM and HAML resemble a DOM tree, it looks somewhat similar to what you would see in the browser inspector.
Re: Hamlet: A type-safe Haml template engine for Go
#6 - if user != nil {
%strong The user exists
- }Re: Hamlet: A type-safe Haml template engine for Go
#7The example has left me with a strong impression I should avoid this and HAML. That syntax frightens me.
SLIM is similar, but a bit cleaner: https://github.com/mattn/go-slim Both SLIM and HAML resemble a DOM tree, it looks somewhat similar to what you would see in the browser inspector.
Re: Hamlet: A type-safe Haml template engine for Go
#8The example has left me with a strong impression I should avoid this and HAML. That syntax frightens me.
Re: Hamlet: A type-safe Haml template engine for Go
#9Earlier quoted context omitted.
SLIM is similar, but a bit cleaner: https://github.com/mattn/go-slim Both SLIM and HAML resemble a DOM tree, it looks somewhat similar to what you would see in the browser inspector.
Is HTML really that scary for people?
Re: Hamlet: A type-safe Haml template engine for Go
#10Earlier quoted context omitted.
SLIM is similar, but a bit cleaner: https://github.com/mattn/go-slim Both SLIM and HAML resemble a DOM tree, it looks somewhat similar to what you would see in the browser inspector.
Is HTML really that scary for people?