Improve cuddly #1
1 changed files with 4 additions and 4 deletions
fix typos in README
commit
40378554e1
|
|
@ -1,6 +1,6 @@
|
||||||
# Cuddly
|
# Cuddly
|
||||||
|
|
||||||
Generate HTML and PDF from KDL structed data.
|
Generate HTML and PDF from KDL structured data.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
@ -85,7 +85,7 @@ my_node {
|
||||||
```jinja
|
```jinja
|
||||||
{% for node in my_node.other_node %}
|
{% for node in my_node.other_node %}
|
||||||
{{ node.value }}
|
{{ node.value }}
|
||||||
{% endofr %}
|
{% endfor %}
|
||||||
```
|
```
|
||||||
|
|
||||||
renders to
|
renders to
|
||||||
|
|
@ -133,7 +133,7 @@ menu "Midnight meal" price="10 €" {
|
||||||
<h1>{{ value }}</h1>
|
<h1>{{ value }}</h1>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Price</dt>
|
<dt>Price</dt>
|
||||||
<dd>{{ attributes.prices }}</dd>
|
<dd>{{ attributes.price }}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
|
|
@ -144,7 +144,7 @@ menu "Midnight meal" price="10 €" {
|
||||||
</menu>
|
</menu>
|
||||||
<dish>
|
<dish>
|
||||||
<div>
|
<div>
|
||||||
<dt>{{ attribute.name }}</dt>
|
<dt>{{ attributes.name }}</dt>
|
||||||
<dd>{{ value }}</dd>
|
<dd>{{ value }}</dd>
|
||||||
</div>
|
</div>
|
||||||
</dish>
|
</dish>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue