Add better favicons
Anirudh Oppiliappan x@icyphox.sh
Tue, 15 Dec 2020 12:12:14 +0530
5 files changed,
31 insertions(+),
9 deletions(-)
M
templates/index.html
→
templates/index.html
@@ -1,13 +1,12 @@
<!DOCTYPE html> <html lang=en> +<head> <link rel="stylesheet" href="/static/style.css" type="text/css"> - <link rel="shortcut icon" type="images/x-icon" href="/static/favicon.ico"> <link rel="alternate" type="application/rss+xml" title="RSS" href="https://icyphox.sh/blog/feed.xml"> <meta name="description" content="{{ .Fm.Subtitle }}"> <meta name="viewport" content="initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta charset="UTF-8"> - <meta content="#222" name="theme-color"> <meta name="HandheldFriendly" content="true"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:site" content="@icyphox">@@ -19,6 +18,14 @@ <meta property="og:type" content="website">
<meta property="og:description" content="{{ .Fm.Subtitle }}"> <meta property="og:url" content="https://icyphox.sh"> <meta property="og:image" content="/static/icyphox.png"> + + <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> + <link rel="manifest" href="/site.webmanifest"> + <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000"> + <meta name="theme-color" content="#ffffff"> +</head> <title> {{ .Fm.Title }}
M
templates/page.html
→
templates/page.html
@@ -1,12 +1,12 @@
<!DOCTYPE html> <html lang=en> +<head> <link rel="stylesheet" href="/static/style.css" type="text/css"> - <link rel="shortcut icon" type="images/x-icon" href="/static/favicon.ico"> + <link rel="alternate" type="application/rss+xml" title="RSS" href="https://icyphox.sh/blog/feed.xml"> <meta name="description" content="{{ .Fm.Subtitle }}"> - <meta charset="UTF-8"> <meta name="viewport" content="initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <meta content="#222" name="theme-color"> + <meta charset="UTF-8"> <meta name="HandheldFriendly" content="true"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:site" content="@icyphox">@@ -18,6 +18,14 @@ <meta property="og:type" content="website">
<meta property="og:description" content="{{ .Fm.Subtitle }}"> <meta property="og:url" content="https://icyphox.sh"> <meta property="og:image" content="/static/icyphox.png"> + + <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> + <link rel="manifest" href="/site.webmanifest"> + <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000"> + <meta name="theme-color" content="#ffffff"> +</head> <title> {{ .Fm.Title }} </title>
M
templates/text.html
→
templates/text.html
@@ -1,13 +1,12 @@
<!DOCTYPE html> <html lang=en> +<head> <link rel="stylesheet" href="/static/style.css" type="text/css"> - <link rel="stylesheet" href="/static/syntax.css" type="text/css"> - <link rel="shortcut icon" type="images/x-icon" href="/static/favicon.ico"> - <meta charset="UTF-8"> + <link rel="alternate" type="application/rss+xml" title="RSS" href="https://icyphox.sh/blog/feed.xml"> <meta name="description" content="{{ .Fm.Subtitle }}"> <meta name="viewport" content="initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <meta content="#222" name="theme-color"> + <meta charset="UTF-8"> <meta name="HandheldFriendly" content="true"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:site" content="@icyphox">@@ -19,6 +18,14 @@ <meta property="og:type" content="website">
<meta property="og:description" content="{{ .Fm.Subtitle }}"> <meta property="og:url" content="https://icyphox.sh"> <meta property="og:image" content="/static/icyphox.png"> + + <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> + <link rel="manifest" href="/site.webmanifest"> + <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000"> + <meta name="theme-color" content="#ffffff"> +</head> <title> {{ .Fm.Title }} </title>