Skip to content

Commit

Permalink
Adds favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
mijndert committed Mar 28, 2024
1 parent 050be47 commit 4163505
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = (config) => {
return array.slice(0, n);
});
config.addPassthroughCopy("css");
config.addPassthroughCopy("src/favicon/");
config.addPassthroughCopy({ 'src/robots.txt': '/robots.txt' });
config.addPassthroughCopy({ 'src/CNAME': '/CNAME' });
config.addPlugin(pluginRss);
Expand Down
4 changes: 4 additions & 0 deletions src/_includes/layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
<link rel="alternate" type="application/rss+xml" href="{{ site.url }}/feed.xml" />
<title>{{ title }}</title>
{% if summary %}<meta name="description" content="{{ summary }}" />{% endif %}
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
<link rel="manifest" href="favicon/site.webmanifest">
</head>
<body>
{% include "partials/header.html" %}
Expand Down
Binary file added src/favicon/android-chrome-192x192.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 src/favicon/android-chrome-512x512.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 src/favicon/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 src/favicon/favicon-16x16.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 src/favicon/favicon-32x32.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 src/favicon/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions src/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

0 comments on commit 4163505

Please sign in to comment.