-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathnotes.html
More file actions
61 lines (43 loc) · 735 Bytes
/
notes.html
File metadata and controls
61 lines (43 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Hello, {{name}} ({{age}})
Liste:
{{#liste}}
- {{.}}
{{/liste}}
Fishsticks summary:
{{#folk}}
- {{.navn}} {{#.bestilling}}{{.nr}}. {{..navn}}{{/.bestilling}}
{{/folk}}
{{#folk}}
{{>parshul .fe}}
{{/folk}}
{{#bool?}}
{{/bool}}
{{{html}}}
{{%html}}
{{html:unescaped}}
{{num:.2f}}
{{num|format(2f)}}
{{=<% %>=}}
<%#folk%>
<%name%>
<%/folk%>
{{}}
<%={{ }}=%>
{
kake: {
brille: 1,
nisse: 2
}
}
{{kake.brille}}
{{#kake.}}
{{.brille}}
{{.nisse}}
{{/kake}}
Negative boolean:
{{^bool?}}bool is false{{/bool}}
Negative case for iterables? (How to implement?)
{{^iterable}}iterable is empty{{/iterable}}
Negative case for Result?
{{#result}}Ok({{.}}){{/result}}
{{^result}}Err({{.}}){{/result}}