Create svg favicon

This commit is contained in:
Jonathan Dahan 2020-01-22 16:23:13 -05:00
parent f749d618c6
commit e706a048b5
2 changed files with 6 additions and 1 deletions

4
src/assets/favicon.svg Normal file
View File

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15">
<title>oasis favicon</title>
<text x="0" y="15">🏝️</text>
</svg>

After

Width:  |  Height:  |  Size: 139 B

View File

@ -23,10 +23,11 @@ module.exports = (...elements) => {
const nodes =
html({ lang: 'en' },
head(
title('🏝️ Oasis'),
title('Oasis'),
link({ rel: 'stylesheet', href: '/theme.css' }),
link({ rel: 'stylesheet', href: '/assets/style.css' }),
link({ rel: 'stylesheet', href: '/assets/highlight.css' }),
link({ rel: 'icon', type: 'image/svg+xml', href: '/assets/favicon.svg' }),
meta({ charset: 'utf-8' }),
meta({
name: 'description',