Skip to content

Commit

Permalink
Move favicon folder to main assets folder
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Nov 12, 2024
1 parent cd1c82d commit 4cc01ef
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/_config/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default function(eleventyConfig) {
eleventyConfig.addPassthroughCopy("./src/assets/");
eleventyConfig.addWatchTarget("./src/assets/");
eleventyConfig.addPassthroughCopy({
"./src/assets/graphics/favicon/favicon.ico": "/favicon.ico",
"./src/assets/favicon/favicon.ico": "/favicon.ico",
"node_modules/@zachleat/details-utils/details-utils.js": "assets/js/details-utils.js",
});
}
6 changes: 3 additions & 3 deletions src/_includes/global/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@

{# Favicon #}
<link rel="icon" sizes="32x32" href="/favicon.ico">
<link rel="icon" type="image/svg+xml" href="/assets/graphics/favicon/HC-favicon.svg">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/graphics/favicon/apple-touch-icon.png">
<link rel="manifest" href="/assets/graphics/favicon/site.webmanifest">
<link rel="icon" type="image/svg+xml" href="/assets/favicon/HC-favicon.svg">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
<link rel="manifest" href="/assets/favicon/site.webmanifest">

{# CSS #}
{% include "global/css.njk" %}
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.

0 comments on commit 4cc01ef

Please sign in to comment.