diff --git a/docs/building_your_site/frontenddevelopers.rst b/docs/building_your_site/frontenddevelopers.rst index 1061856bb9..a5120af192 100644 --- a/docs/building_your_site/frontenddevelopers.rst +++ b/docs/building_your_site/frontenddevelopers.rst @@ -192,7 +192,7 @@ More control over the ``img`` tag Wagtail provides two shorcuts to give greater control over the ``img`` element: -**Adding attributes to the {% image %} tag** +**1. Adding attributes to the {% image %} tag** .. versionadded:: 0.4 @@ -205,7 +205,7 @@ Extra attributes can be specified with the syntax ``attribute="value"``: No validation is performed on attributes added in this way so it's possible to add `src`, `width`, `height` and `alt` of your own that might conflict with those generated by the tag itself. -**Generating the image "as foo" to access individual properties** +**2. Generating the image "as foo" to access individual properties** Wagtail can assign the image data to another variable using Django's ``as`` syntax: