Skip to content

Commit

Permalink
Change imagemagick optional to depend on one variable (alshedivat#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohandebsarkar authored and zkotti committed Dec 10, 2022
1 parent b218ec2 commit fefb240
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ jekyll-archives:
tag: '/blog/tag/:name/'
category: '/blog/category/:name/'

display_tags: ['formatting', 'images', 'links', 'math', 'code'] # this tags will be dispalyed on the front page of your blog

# -----------------------------------------------------------------------------
# Jekyll Scholar
# -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion _includes/figure.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<figure>

<picture>
{% if site.enable_responsive_images %}
{% if site.imagemagick.enabled %}
{% for i in site.imagemagick.widths -%}
<source media="(max-width: {{ i }}px)" srcset="{{ path | relative_url }}-{{ i }}.webp" />
{% endfor -%}
Expand Down

0 comments on commit fefb240

Please sign in to comment.