- Fixed a part of Block's doc ; more work to be done on that part

- Fixed whitespaces from unprinted block parts
- Reworked a bit the UrlExtension route grabbing part
This commit is contained in:
Dave Mc Nicoll committed 2024-10-16 20:30:27 +00:00
1 parent 5e54407f74
commit 934643214e
3 files changed
+23 -12

No files matched your search

@@ -96,9 +96,9 @@ You can do so by using `define` and `slot`.
```html
{% arguments string $name, string $anchor, int $index = 0 %}
{% define slot %}
{% define "attributes" %}
<a {% slot "attributes" %}href="{{ $anchor }}" tabindex="{{ $index }}"{% endslot %}>{{ $name }}"</a>
<a {% slot "attributes" %}{% endslot %} href="{{ $anchor }}" tabindex="{{ $index }}"{% endslot %}>{{ $name }}"</a>
```
**[HTML]** Would render the same as the `view` example :