Commit 20a85b34 authored by Ben Hong's avatar Ben Hong

feature (#33): Add favicon to blog

parent 66137e21
......@@ -2,6 +2,25 @@ module.exports = {
title: 'BenCodeZen',
ga: 'UA-92645815-1',
dest: './public',
head: [
['link', { 'rel': "apple-touch-icon", 'sizes': "57x57", 'href': "/apple-icon-57x57.png" }],
['link', { 'rel': "apple-touch-icon", 'sizes': "60x60", 'href': "/apple-icon-60x60.png" }],
['link', { 'rel': "apple-touch-icon", 'sizes': "72x72", 'href': "/apple-icon-72x72.png" }],
['link', { 'rel': "apple-touch-icon", 'sizes': "76x76", 'href': "/apple-icon-76x76.png" }],
['link', { 'rel': "apple-touch-icon", 'sizes': "114x114", 'href': "/apple-icon-114x114.png" }],
['link', { 'rel': "apple-touch-icon", 'sizes': "120x120", 'href': "/apple-icon-120x120.png" }],
['link', { 'rel': "apple-touch-icon", 'sizes': "144x144", 'href': "/apple-icon-144x144.png" }],
['link', { 'rel': "apple-touch-icon", 'sizes': "152x152", 'href': "/apple-icon-152x152.png" }],
['link', { 'rel': "apple-touch-icon", 'sizes': "180x180", 'href': "/apple-icon-180x180.png" }],
['link', { 'rel': "icon", 'type': "image/png", 'sizes': "192x192", 'href': "/android-icon-192x192.png" }],
['link', { 'rel': "icon", 'type': "image/png", 'sizes': "32x32", 'href': "/favicon-32x32.png" }],
['link', { 'rel': "icon", 'type': "image/png", 'sizes': "96x96", 'href': "/favicon-96x96.png" }],
['link', { 'rel': "icon", 'type': "image/png", 'sizes': "16x16", 'href': "/favicon-16x16.png" }],
['link', { 'rel': "manifest", 'href': "/manifest.json" }],
['meta', { 'name': "msapplication-TileColor", 'content': "#ffffff" }],
['meta', { 'name': "msapplication-TileImage", 'content': "/ms-icon-144x144.png" }],
['meta', { 'name': "theme-color", 'content': "#ffffff" }]
],
themeConfig: {
repo: 'https://gitlab.com/bencodezen/bencodezen',
repoLabel: 'GitLab',
......
<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
\ No newline at end of file
{
"name": "App",
"icons": [
{
"src": "\/android-icon-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": "\/android-icon-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": "\/android-icon-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": "\/android-icon-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": "\/android-icon-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": "\/android-icon-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment