fix: add favicon support and link in layout
This commit is contained in:
@@ -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
BIN
favicon/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@@ -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 -->
|
||||||
|
Reference in New Issue
Block a user