Public Access
1
0

fix: add favicon support and link in layout

This commit is contained in:
2025-08-13 22:52:47 -04:00
parent 89f6d8c280
commit ffe4e4c621
3 changed files with 2 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ module.exports = function(eleventyConfig) {
eleventyConfig.addPassthroughCopy("src/js"); eleventyConfig.addPassthroughCopy("src/js");
eleventyConfig.addPassthroughCopy("src/resume"); eleventyConfig.addPassthroughCopy("src/resume");
eleventyConfig.addPassthroughCopy("src/assets/images"); eleventyConfig.addPassthroughCopy("src/assets/images");
eleventyConfig.addPassthroughCopy({ "favicon" : "/" } );
// Add a filter for readable dates using vanilla JS // Add a filter for readable dates using vanilla JS
eleventyConfig.addFilter("readableDate", dateObj => { eleventyConfig.addFilter("readableDate", dateObj => {
// The toLocaleDateString method can be used to format dates // The toLocaleDateString method can be used to format dates

BIN
favicon/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -10,6 +10,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/css/style.css"> <link rel="stylesheet" href="/css/style.css">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
</head> </head>
<body class="antialiased"> <body class="antialiased">
<!-- Header & Nav --> <!-- Header & Nav -->