aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-06-22 23:42:53 +0300
committerGravatar Vitaly Takmazov2017-06-22 23:42:53 +0300
commit10281f2296a5a20a1578d7ae2f53a5fd8ef5c0ac (patch)
treed7b21b1516efd0db300bf70698926de69430e8ea /juick-www/src/main
parentef34d9cebe5b1c124058e45decbabda1f6e72fc5 (diff)
www: apple-touch-icon
Diffstat (limited to 'juick-www/src/main')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java1
-rw-r--r--juick-www/src/main/webapp/WEB-INF/layouts/content.html3
2 files changed, 3 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java b/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java
index 5f758608..14dc1cd2 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java
@@ -81,6 +81,7 @@ public class PageTemplates {
out.print("<title>" + title + "</title>");
out.println("<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"/>");
out.println("<link rel=\"icon\" href=\"//i.juick.com/favicon.png\"/>");
+ out.println("<link rel=\"apple-touch-icon\" href=\"//i.juick.com/apple-touch-icon.png\"/>");
out.println("<!--[if lt IE 9 & (!IEMobile 7)]>");
out.println("<script src=\"//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js\"></script>");
out.println("<![endif]-->");
diff --git a/juick-www/src/main/webapp/WEB-INF/layouts/content.html b/juick-www/src/main/webapp/WEB-INF/layouts/content.html
index dedfbc30..0f6f8dac 100644
--- a/juick-www/src/main/webapp/WEB-INF/layouts/content.html
+++ b/juick-www/src/main/webapp/WEB-INF/layouts/content.html
@@ -11,6 +11,7 @@
<title>{{ title | default('Juick') }}</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" href="//i.juick.com/favicon.png" />
+ <link rel="apple-touch-icon" href="//i.juick.com/apple-touch-icon.png" />
</head>
<body id="body">
{% include "views/partial/navigation" %}
@@ -24,4 +25,4 @@
</aside>
{% include "views/partial/footer" %}
</body>
-</html> \ No newline at end of file
+</html>