Skip to content

Commit

Permalink
feat(template): no longer support favicon.ico
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Jan 9, 2017
1 parent ab99887 commit fb6de93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions _app/_includes/_amsf.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,15 @@

@since 1.1.0
{% endcomment %}
{% capture amsf_favicon %}{{ '/favicon.ico' | prepend: site.base }}{% endcapture %}
{% capture amsf_favicon_png %}{{ '/favicon.png' | prepend: site.base }}{% endcapture %}
{% capture amsf_favicon_svg %}{{ '/favicon.svg' | prepend: site.base }}{% endcapture %}
{% capture amsf_mask_icon %}{{ '/mask-icon.svg' | prepend: site.base }}{% endcapture %}
{% capture amsf_apple_touch_icon %}{{ '/apple-touch-icon.png' | prepend: site.base }}{% endcapture %}

{% capture amsf_favicons %}
{% if site.base != "" %}
<link rel="icon" href="{{ amsf_favicon }}">
{% endif %}

{% for static_file in site.static_files %}
{% if static_file.path == '/favicon.png' %}
<link rel="icon" href="{{ amsf_favicon_png }}" sizes="196x196" type="image/png">
<link rel="icon" href="{{ amsf_favicon_png }}" type="image/png">
{% endif %}

{% if static_file.path == '/favicon.svg' %}
Expand Down
Binary file removed _app/favicon.ico
Binary file not shown.

0 comments on commit fb6de93

Please sign in to comment.