mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 11:11:03 +01:00
beef97fd5d
Former-commit-id: e26a5701e00ec055f3bcf693c1980c7d22147310
25 lines
567 B
Plaintext
25 lines
567 B
Plaintext
mixin withGo
|
|
| Generating Go html/template output.
|
|
|
|
doctype html
|
|
html(lang="en")
|
|
head
|
|
title= .pageTitle
|
|
script(type='text/javascript').
|
|
if (foo) {
|
|
bar(1 + 5)
|
|
}
|
|
body
|
|
h1 Jade - template engine
|
|
#container.col
|
|
if .youAreUsingJade
|
|
p {{ greet "iris user" }} <!-- execute template funcs -->
|
|
p You are amazing!
|
|
else
|
|
p Get on it!
|
|
p.
|
|
Jade is #[a(terse)] and simple
|
|
templating language with a
|
|
#[strong focus] on performance
|
|
and powerful features.
|
|
+ withGo |