Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #44 from Wikia/MAIN-10098
Browse files Browse the repository at this point in the history
MAIN-10098: Get apple-touch-icon URL from MW and serve it
  • Loading branch information
Máté Szabó authored Apr 5, 2017
2 parents 55bdaf7 + 1994d54 commit af5d33c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions front/main/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
<link rel="stylesheet" href="/mobile-wiki/main/assets/app.css" crossorigin="anonymous">
{{/if}}

{{> apple-touch-icon}}

{{> dns-prefetch}}
{{> open-graph-tags}}
{{> other-languages-head}}
Expand Down
3 changes: 3 additions & 0 deletions server/app/views/_partials/apple-touch-icon.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{#if wikiVariables.appleTouchIcon}}
<link rel="apple-touch-icon" href="{{wikiVariables.appleTouchIcon.url}}" sizes="{{wikiVariables.appleTouchIcon.size}}" />
{{/if}}

0 comments on commit af5d33c

Please sign in to comment.