From 5910d8d004a1a626a4b60f1678c451a9682be484 Mon Sep 17 00:00:00 2001 From: KimSia Sim <245021+simkimsia@users.noreply.github.com> Date: Fri, 15 Jul 2022 14:00:39 +0800 Subject: [PATCH] Update README.md Typo in `believe` and also missing `{}` for `{ slot.super }` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5128779d..70c3dfe8 100644 --- a/README.md +++ b/README.md @@ -288,7 +288,7 @@ When using the component, you specify what slots you want to fill and where you ```htmldjango {% component_block "calendar" date="2020-06-06" %} - {% slot "body" %}Can you belive it's already {{ date }}??{% endslot %} + {% slot "body" %}Can you believe it's already {{ date }}??{% endslot %} {% endcomponent_block %} ``` @@ -312,7 +312,7 @@ If you want to include a slot's default content while adding additional content, ```htmldjango {% component_block "calendar" date="2020-06-06" %} - {% slot "body" %}{ slot.super }. Have a great day!{% endslot %} + {% slot "body" %}{{ slot.super }}. Have a great day!{% endslot %} {% endcomponent_block %} ```