Skip to content

Commit

Permalink
Project: Fixed failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter committed Jul 9, 2024
1 parent 855ef84 commit 81d318e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _includes/custom-head.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

{% include favicon.html -%}
{% include favicon.html %}
4 changes: 2 additions & 2 deletions _includes/favicon.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<link rel="apple-touch-icon" sizes="180x180" href="{% link /assets/images/favicon/apple-touch-icon.png %}?v=2">
<link rel="icon" type="image/png" sizes="32x32" href="{% link /assets/images/favicon/favicon-32x32.png %}?v=2">
<link rel="icon" type="image/png" sizes="16x16" href="{% link /assets/images/favicon/favicon-16x16.png %}?v=2">
<link rel="manifest" href="{% link /assets/images/favicon/site.webmanifest %}?v=2">
<link rel="manifest" href="{% link assets/images/favicon/site.webmanifest %}?v=2">
<link rel="mask-icon" href="{% link /assets/images/favicon/safari-pinned-tab.svg %}?v=2" color="#5bbad5">
<link rel="shortcut icon" href="{% link /assets/images/favicon/favicon.ico %}?v=2">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="{% link /assets/images/favicon/browserconfig.xml %}?v=2">
<meta name="msapplication-config" content="{% link assets/images/favicon/browserconfig.xml %}?v=2">
<meta name="theme-color" content="#ffffff">
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"inject-favicon": "real-favicon inject sources/favicon/faviconData.json _includes _includes/favicon.html",
"postinject-favicon": "for file in _includes/favicon.html; do perl -pi -e 's/<\\/?(html|head|body)>\\n?//g' \"$file\"; done",
"linkify-favicon": "for file in assets/images/favicon/browserconfig.xml assets/images/favicon/site.webmanifest _includes/favicon.html; do perl -pi -e 's/\\/assets\\/.+(?=\\?v=\\d+)/{% link $& %}/g' \"$file\"; done",
"postlinkify-favicon": "for file in _includes/favicon.html; do perl -pi -e 's/\\/(?=assets\\/.+(site\\.webmanifest|browserconfig\\.xml))//g' \"$file\"; done",
"update-favicon": "npm run generate-favicon && npm run inject-favicon && npm run linkify-favicon",

"check-favicon-update": "real-favicon check-for-update --fail-on-update sources/favicon/faviconData.json"
Expand Down

0 comments on commit 81d318e

Please sign in to comment.