diff options
author | Allan Wang <me@allanwang.ca> | 2019-04-25 20:58:20 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-04-25 20:58:20 -0700 |
commit | 412fe5525257e08b0b8d08059a8380b8ba4158a8 (patch) | |
tree | 743a1fcc957b5903182cb082732e45c2633cfffc | |
parent | 5ee12e797934b8f5f9c24374ba809cfdc0239805 (diff) | |
download | kau-412fe5525257e08b0b8d08059a8380b8ba4158a8.tar.gz kau-412fe5525257e08b0b8d08059a8380b8ba4158a8.tar.bz2 kau-412fe5525257e08b0b8d08059a8380b8ba4158a8.zip |
Update favicon
-rw-r--r-- | _layouts/default.html | 48 | ||||
-rw-r--r-- | favicon/android-chrome-192x192.png | bin | 0 -> 6910 bytes | |||
-rw-r--r-- | favicon/android-chrome-512x512.png | bin | 0 -> 14362 bytes | |||
-rw-r--r-- | favicon/apple-touch-icon.png | bin | 0 -> 6510 bytes | |||
-rw-r--r-- | favicon/browserconfig.xml | 9 | ||||
-rw-r--r-- | favicon/favicon-16x16.png | bin | 0 -> 982 bytes | |||
-rw-r--r-- | favicon/favicon-32x32.png | bin | 0 -> 1347 bytes | |||
-rw-r--r-- | favicon/favicon.ico | bin | 0 -> 15086 bytes | |||
-rw-r--r-- | favicon/mstile-150x150.png | bin | 0 -> 4442 bytes | |||
-rw-r--r-- | favicon/safari-pinned-tab.svg | 17 | ||||
-rw-r--r-- | favicon/site.webmanifest | 19 |
11 files changed, 74 insertions, 19 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 6868eca..3e0ff03 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,22 +1,34 @@ -<!doctype html> -<!--https://help.github.com/articles/repository-metadata-on-github-pages/#available-repository-metadata--> -<html> +<!--See https://github.com/pages-themes/minimal/blob/master/_layouts/default.html--> +<!DOCTYPE html> +<html lang="{{ site.lang | default: "en-US" }}"> <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="chrome=1"> - <title>{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title> + <meta charset="UTF-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> - <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"> - <meta name="viewport" content="width=device-width"> + {% seo %} + <link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}"> + + <!--Begin favicon--> + <link rel="apple-touch-icon" sizes="180x180" href="{{ '/favicon/apple-touch-icon.png' | relative_url }}"> + <link rel="icon" type="image/png" sizes="32x32" href="{{ '/favicon/favicon-32x32.png' | relative_url }}"> + <link rel="icon" type="image/png" sizes="16x16" href="{{ '/favicon/favicon-16x16.png' | relative_url }}"> + <link rel="manifest" href="{{ '/favicon/site.webmanifest' | relative_url }}"> + <link rel="mask-icon" href="{{ '/favicon/safari-pinned-tab.svg' | relative_url }}" color="#3b5998"> + <link rel="shortcut icon" href="{{ '/favicon.ico' | relative_url }}"> + <meta name="msapplication-TileColor" content="#da532c"> + <meta name="msapplication-config" content="{{ '/favicon/browserconfig.xml' | relative_url }}"> + <meta name="theme-color" content="#ffffff"> + <!--End favicon--> <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script> <![endif]--> </head> <body> <div class="wrapper"> <header> <a href="{{ site.github.url }}"><img src="https://cdn.rawgit.com/AllanWang/KAU/master/files/images/logo.svg" alt="KAU" width="30%"/></a> - <!--<h1><a href="{{ site.github.url }}">{{ site.title | default: site.github.repository_name }}</a></h1>--> + <p>{{ site.description | default: site.github.project_tagline }}</p> {% if page.url == '/core/' or @@ -60,18 +72,16 @@ </footer> </div> <script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script> - - {% if site.google_analytics %} <script> - (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ - (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), - m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) - })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); - ga('create', '{{ site.google_analytics }}', 'auto'); - ga('send', 'pageview'); - </script> + ga('create', '{{ site.google_analytics }}', 'auto'); + ga('send', 'pageview'); +</script> {% endif %} </body> </html>
\ No newline at end of file diff --git a/favicon/android-chrome-192x192.png b/favicon/android-chrome-192x192.png Binary files differnew file mode 100644 index 0000000..2d2a7fa --- /dev/null +++ b/favicon/android-chrome-192x192.png diff --git a/favicon/android-chrome-512x512.png b/favicon/android-chrome-512x512.png Binary files differnew file mode 100644 index 0000000..6b7cee2 --- /dev/null +++ b/favicon/android-chrome-512x512.png diff --git a/favicon/apple-touch-icon.png b/favicon/apple-touch-icon.png Binary files differnew file mode 100644 index 0000000..a62432c --- /dev/null +++ b/favicon/apple-touch-icon.png diff --git a/favicon/browserconfig.xml b/favicon/browserconfig.xml new file mode 100644 index 0000000..ed5dd79 --- /dev/null +++ b/favicon/browserconfig.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<browserconfig> + <msapplication> + <tile> + <square150x150logo src="favicon/mstile-150x150.png"/> + <TileColor>#da532c</TileColor> + </tile> + </msapplication> +</browserconfig> diff --git a/favicon/favicon-16x16.png b/favicon/favicon-16x16.png Binary files differnew file mode 100644 index 0000000..edd0ca3 --- /dev/null +++ b/favicon/favicon-16x16.png diff --git a/favicon/favicon-32x32.png b/favicon/favicon-32x32.png Binary files differnew file mode 100644 index 0000000..34ab2f4 --- /dev/null +++ b/favicon/favicon-32x32.png diff --git a/favicon/favicon.ico b/favicon/favicon.ico Binary files differnew file mode 100644 index 0000000..f6c4784 --- /dev/null +++ b/favicon/favicon.ico diff --git a/favicon/mstile-150x150.png b/favicon/mstile-150x150.png Binary files differnew file mode 100644 index 0000000..44d2059 --- /dev/null +++ b/favicon/mstile-150x150.png diff --git a/favicon/safari-pinned-tab.svg b/favicon/safari-pinned-tab.svg new file mode 100644 index 0000000..c64d556 --- /dev/null +++ b/favicon/safari-pinned-tab.svg @@ -0,0 +1,17 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg version="1.0" xmlns="http://www.w3.org/2000/svg" + width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000" + preserveAspectRatio="xMidYMid meet"> +<metadata> +Created by potrace 1.11, written by Peter Selinger 2001-2013 +</metadata> +<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)" +fill="#000000" stroke="none"> +<path d="M2420 4754 c-495 -44 -915 -214 -1272 -514 l-98 -81 0 -1599 0 -1599 +82 -71 c115 -99 299 -220 441 -292 324 -162 623 -232 987 -232 361 0 669 72 +985 230 200 101 421 261 565 408 l55 56 -753 753 -752 752 750 750 750 750 +-58 58 c-258 264 -662 487 -1042 576 -181 42 -487 69 -640 55z"/> +</g> +</svg> diff --git a/favicon/site.webmanifest b/favicon/site.webmanifest new file mode 100644 index 0000000..1edcfef --- /dev/null +++ b/favicon/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} |