diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/shortcodes/img.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shortcodes/img.html b/templates/shortcodes/img.html index 320ac84..d57e54e 100644 --- a/templates/shortcodes/img.html +++ b/templates/shortcodes/img.html @@ -3,7 +3,7 @@ {% if not float -%} <figure> {% else -%} -<figure style="float: {{ float }};"> +<figure class="float-{{ float }}"> {% endif -%} <a href="{% if link %}{{ link }}{% else %}/{{ url }}{% endif %}"> <img src="{{ image.url }}" alt="{{ alt }}" /> |