Skip to content

Commit

Permalink
NEW: Add favicon (#17)
Browse files Browse the repository at this point in the history
closes #17
  • Loading branch information
dwhieb committed May 16, 2024
1 parent 8989848 commit e2fc184
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 5 deletions.
Binary file added assets/favicon.ico
Binary file not shown.
Binary file added assets/images/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icon-512.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 assets/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"icons": [
{ "src": "/images/icon-192.png", "type": "image/png", "sizes": "192x192" },
{ "src": "/images/icon-512.png", "type": "image/png", "sizes": "192x192" }
]
}
18 changes: 13 additions & 5 deletions layouts/main/head.hbs
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<head>

{{!-- critical metadata --}}
{{!-- Critical Metadata --}}
<meta charset=utf-8>
<meta name=viewport content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<title>Nisinoon | {{ title }}</title>

{{!-- metadata --}}
{{!-- Metadata --}}
<meta name=author content='{{ meta.author.name }}'>
<meta name=description content='{{ meta.description }}'>
<meta name=keywords content='{{#each meta.keywords}}{{#if @last}}{{@this}}{{else}}{{@this}}, {{/if}}{{/each}}'>
<meta name=rating content=general>
<meta name=robots content='index,follow'>

{{!-- linked metadata --}}
{{!-- Linked Metadata --}}
<link rel=author href=https://danielhieber.info>
<link rel=license href=https://github.com/dwhieb/Nisinoon/blob/main/LICENSE>

{{!-- Facebook sharing --}}
{{!-- Facebook Sharing --}}
<meta property=og:description content='{{ meta.description }}'>
<meta property=og:image content=https://nisinoon.net/images/textile.jpg>
<meta property=og:image:alt content='trillium textile applique'>
Expand All @@ -28,9 +28,17 @@
<meta property=og:url content=https://nisinoon.net>
<meta property=og:site_name content=Nisinoon>

{{!-- Twitter sharing --}}
{{!-- Twitter Sharing --}}
<meta name=twitter:card content=summary>
<meta name=twitter:creator content=@dwhieb>
<meta name=twitter:image:alt content='trillium textile applique'>

{{!-- Icons --}}
<link rel=icon href=/favicon.ico sizes='32x32'>
<link rel=icon href=/images/trillium.svg type='image/svg+xml'>
<link rel=apple-touch-icon href=/images/apple-touch-icon.png>

{{!-- Web App Manifest --}}
<link rel=manifest href=/manifest.webmanifest>

</head>

0 comments on commit e2fc184

Please sign in to comment.