Skip to content

Commit c9a13d3

Browse files
committed
Update README examples
1 parent 081fa48 commit c9a13d3

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010
Build reusable components in Django without writing a single line of Python.
1111

1212
```django
13-
{% #quote %}
14-
{% quote_photo src="/project-hail-mary.jpg" %}
13+
{% #Quote %}
14+
{% QuotePhoto src=/project-hail-mary.jpg %}
1515
16-
{% #quote_text %}
17-
“I penetrated the outer cell membrane with a nanosyringe."
18-
"You poked it with a stick?"
19-
"No!" I said. "Well. Yes. But it was a scientific poke
16+
{% #QuoteText %}
17+
“I penetrated the outer cell membrane with a nanosyringe.
18+
You poked it with a stick?
19+
No! I said. Well. Yes. But it was a scientific poke
2020
with a very scientific stick.”
21-
{% /quote_text %}
21+
{% /QuoteText %}
2222
23-
{% #quote_attribution %}
23+
{% #QuoteAttribution %}
2424
Andy Weir, Project Hail Mary
25-
{% /quote_attribution %}
26-
{% /quote %}
25+
{% /QuoteAttribution %}
26+
{% /Quote %}
2727
```
2828

2929
## What is Slippers?
@@ -35,7 +35,7 @@ Slippers aims to augment DTL, adding just enough functionality to make building
3535
It includes additional template tags and filters, but its headline feature is **reusable components**.
3636

3737
```django
38-
{% #button variant="primary" %}See how it works{% /button %}
38+
{% #Button variant="primary" %}See how it works{% /Button %}
3939
```
4040

4141
[See how it works](https://mitchel.me/slippers/docs/getting-started/)

0 commit comments

Comments
 (0)