File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010Build 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
3535It 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/ )
You can’t perform that action at this time.
0 commit comments