Skip to content

Commit

Permalink
feat(template): inline favicon.svg
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Jan 20, 2017
1 parent 41ecede commit c22daac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ module.exports = (grunt) ->
inlineImg: false
inlineSvg: true
inlineSvgBase64: false
inlineLinkTags: true
assetsUrlPrefix: "<%= config.base %><%= config.assets %>"
deleteOriginals: true

Expand Down
2 changes: 1 addition & 1 deletion _app/_includes/_amsf.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
@since 1.1.0
{% endcomment %}
{% capture amsf_favicon_png %}{{ "/favicon.png" | prepend: site.base }}{% endcapture %}
{% capture amsf_favicon_svg %}{{ "/favicon.svg" | prepend: site.base }}{% endcapture %}
{% capture amsf_favicon_svg %}{{ "/favicon.svg?assets-inline-assets-keep" | 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 %}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"autoprefixer": "^6.6.1",
"coffeelint": "^1.16.0",
"grunt": "^1.0.1",
"grunt-assets-inline": "^0.1.14",
"grunt-assets-inline": "^0.1.19",
"grunt-banner": "^0.6.0",
"grunt-browser-sync": "^2.2.0",
"grunt-bump": "^0.8.0",
Expand Down

0 comments on commit c22daac

Please sign in to comment.