Skip to content

Commit

Permalink
feat: add favicon (resolve #181) (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Zimmerman committed Jan 22, 2020
1 parent 2b23d3e commit 9075f96
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion fractal.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ const pineconeTheme = mandelbrot( {
styles: [
'default',
'/styles/mandelbrot.css'
]
],
favicon: '/images/favicon.png'
} );

fractal.web.theme( pineconeTheme );
Expand Down
Binary file added src/assets/images/favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/images/favicon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/_preview.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script>(function(html){html.className = html.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script>
<link rel="stylesheet" href="{{ '/styles/pinecone.css' | path }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/images/apple-touch-icon.png' | path }}">
<link rel="icon" type="image/ico" href="{{ '/themes/mandelbrot/favicon.ico' | path }}" >
<link rel="icon" href="{{ '/images/favicon.png' | path }}" >
<title>{{ _target.title }} | Pinecone</title>
</head>

Expand Down

0 comments on commit 9075f96

Please sign in to comment.