Skip to content

Commit

Permalink
Oh shut up linter!
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb committed Aug 25, 2020
1 parent 76a4d8b commit 9037084
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/templates/base/2019/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,11 @@
<button hidden="" class="fig-description-button" aria-expanded="false" aria-controls="fig{{ id }}-description" data-show-text="{{ show_description(id) }}" data-hide-text="{{ hide_description(id) }}">{{ show_description(id) }}</button>
<div id="fig{{ id }}-description" class="visually-hidden">{{ description|safe }}</div>
{%- elif content != "" %}
<div {% if classes != "" %} class="{{ classes }}" {% endif %}>{{ content }}</div>
{%- if classes != "" %}
<div class="{{ classes }}">{{ content }}</div>
{%- else %}
<div>{{ content }}</div>
{%- endif %}
{%- endif %}
<figcaption id="fig{{ id }}-caption">{{ figure_link( id, caption) }}</figcaption>
</figure>
Expand Down

1 comment on commit 9037084

@ibnesayeed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bazzadp I liked the commit message! 😉

Please sign in to comment.