summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorErik Michelson2020-11-27 11:29:34 +0100
committerErik Michelson2020-11-27 11:29:34 +0100
commit68c8f2860dd85f984e68b05393fbfdab0eec88c6 (patch)
tree142f2af99eb9c8876a677951caf925cd37d9ddd5 /public
parent07f72adc548ab8b30c4dbcc948f7cf166fdcf0db (diff)
Fixed shortcut icon urls pointing to old (nonexistent) files
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Diffstat (limited to 'public')
-rw-r--r--public/views/hedgedoc/head.ejs4
-rw-r--r--public/views/html.hbs8
-rw-r--r--public/views/index/head.ejs2
-rw-r--r--public/views/pretty.ejs5
-rw-r--r--public/views/slide.ejs3
5 files changed, 11 insertions, 11 deletions
diff --git a/public/views/hedgedoc/head.ejs b/public/views/hedgedoc/head.ejs
index e7b13e8a..f7e4c8fd 100644
--- a/public/views/hedgedoc/head.ejs
+++ b/public/views/hedgedoc/head.ejs
@@ -9,14 +9,12 @@
<% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %>
<meta property="og:<%- og %>" content="<%- opengraph[og] %>">
<% }} if (!opengraph.hasOwnProperty('image')) { %>
-<meta property="og:image" content="<%- serverURL %>/icons/android-chrome-512x512">
+<meta property="og:image" content="<%- serverURL %>/icons/android-chrome-512x512.png">
<meta property="og:image:alt" content="HedgeDoc logo">
<meta property="og:image:type" content="image/png">
<% } %>
<base href="<%- serverURL %>/">
<title><%= title %></title>
-<link rel="icon" type="image/png" href="<%- serverURL %>/favicon.png">
-<link rel="apple-touch-icon" href="<%- serverURL %>/apple-touch-icon.png">
<% if(useCDN) { %>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.0/css/bootstrap.min.css" integrity="sha256-H0KfTigpUV+0/5tn2HXC0CPwhhDhWgSawJdnFd0CGCo=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fork-awesome/1.1.3/css/fork-awesome.min.css" integrity="sha256-ZhApazu+kejqTYhMF+1DzNKjIzP7KXu6AzyXcC1gMus=" crossorigin="anonymous" />
diff --git a/public/views/html.hbs b/public/views/html.hbs
index 8e91b7b2..7ac97241 100644
--- a/public/views/html.hbs
+++ b/public/views/html.hbs
@@ -12,8 +12,12 @@
<title>
{{title}}
</title>
- <link rel="icon" type="image/png" href="{{{url}}}/favicon.png">
- <link rel="apple-touch-icon" href="{{{url}}}/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="180x180" href="{{{url}}}/icons/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="{{{url}}}/icons/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="{{{url}}}/icons/favicon-16x16.png">
+ <link rel="manifest" href="{{{url}}}/icons/site.webmanifest">
+ <link rel="mask-icon" href="{{{url}}}/icons/safari-pinned-tab.svg" color="#b51f08">
+ <link rel="shortcut icon" href="{{{url}}}/icons/favicon.ico">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.0/css/bootstrap.min.css" integrity="sha256-H0KfTigpUV+0/5tn2HXC0CPwhhDhWgSawJdnFd0CGCo=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fork-awesome/1.1.3/css/fork-awesome.min.css" integrity="sha256-ZhApazu+kejqTYhMF+1DzNKjIzP7KXu6AzyXcC1gMus=" crossorigin="anonymous" />
diff --git a/public/views/index/head.ejs b/public/views/index/head.ejs
index 2b751d34..900d6324 100644
--- a/public/views/index/head.ejs
+++ b/public/views/index/head.ejs
@@ -11,7 +11,7 @@
<meta property="og:description" content="<%= __('Best way to write and share your knowledge in markdown.') %>">
<meta property="og:type" content="website">
<meta property="og:url" content="<%- serverURL %>">
-<meta property="og:image" content="<%- serverURL %>/icons/android-chrome-512x512">
+<meta property="og:image" content="<%- serverURL %>/icons/android-chrome-512x512.png">
<meta property="og:image:alt" content="HedgeDoc logo">
<meta property="og:image:type" content="image/png">
<base href="<%- serverURL %>/">
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index d9221c93..074b181b 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -18,14 +18,13 @@
<% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %>
<meta property="og:<%= og %>" content="<%= opengraph[og] %>">
<% }} if (!opengraph.hasOwnProperty('image')) { %>
- <meta property="og:image" content="<%- serverURL %>/icons/android-chrome-512x512">
+ <meta property="og:image" content="<%- serverURL %>/icons/android-chrome-512x512.png">
<meta property="og:image:alt" content="HedgeDoc logo">
<meta property="og:image:type" content="image/png">
<% } %>
<base href="<%- serverURL %>/">
<title><%= title %></title>
- <link rel="icon" type="image/png" href="<%- serverURL %>/favicon.png">
- <link rel="apple-touch-icon" href="<%- serverURL %>/apple-touch-icon.png">
+ <%- include includes/favicon.ejs %>
<% if(useCDN) { %>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.0/css/bootstrap.min.css" integrity="sha256-H0KfTigpUV+0/5tn2HXC0CPwhhDhWgSawJdnFd0CGCo=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fork-awesome/1.1.3/css/fork-awesome.min.css" integrity="sha256-ZhApazu+kejqTYhMF+1DzNKjIzP7KXu6AzyXcC1gMus=" crossorigin="anonymous" />
diff --git a/public/views/slide.ejs b/public/views/slide.ejs
index 963091a7..b88fe5a2 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -13,8 +13,7 @@
<% } %>
<base href="<%- serverURL %>/">
<title><%= title %></title>
- <link rel="icon" type="image/png" href="<%- serverURL %>/favicon.png">
- <link rel="apple-touch-icon" href="<%- serverURL %>/apple-touch-icon.png">
+ <%- include includes/favicon.ejs %>
<% if(useCDN) { %>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fork-awesome/1.1.3/css/fork-awesome.min.css" integrity="sha256-ZhApazu+kejqTYhMF+1DzNKjIzP7KXu6AzyXcC1gMus=" crossorigin="anonymous" />