Skip to content

Commit

Permalink
Add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Aug 19, 2019
1 parent 51fa77c commit f1ad82a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = {
'/canary/',
'/test/'
]
}
},
head: [
['link', { rel: 'icon', href: '/favicon.png' }],
['link', { rel: 'stylesheet', href: '/website.css' }]
]
};

Binary file added docs/.vuepress/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/.vuepress/public/website.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.site-name {
padding-left: 30px;
position: relative;
background: url(favicon.png) left 50% no-repeat;
background-size: 20px 20px;
}

0 comments on commit f1ad82a

Please sign in to comment.