generated from inherentlee/11ty
This commit is contained in:
1 parent
e8e544763f
commit
4209ff3927
2 files changed
+7
-1
No files matched your search
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
<meta property="og:description" content="{{ metadata.description }}" />
|
<meta property="og:description" content="{{ metadata.description }}" />
|
||||||
|
|
||||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
<meta property="og:image" content="{{ metadata.url }}/favicon.ico" />
|
<meta property="og:image" content="{{ metadata.url }}/img/logo-light.png" />
|
||||||
<meta property="og:image:alt" content="blue and gold icon showing a greeting card with wings" />
|
<meta property="og:image:alt" content="blue and gold icon showing a greeting card with wings" />
|
||||||
|
|
||||||
<meta name="generator" content="{{ eleventy.generator }}">
|
<meta name="generator" content="{{ eleventy.generator }}">
|
||||||
|
|||||||
@@ -65,6 +65,12 @@ export default async function (eleventyConfig) {
|
|||||||
decoding: "async",
|
decoding: "async",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
filenameFormat: function (hash, src, width, format, options) {
|
||||||
|
var dirname = path.dirname(src);
|
||||||
|
dirname = dirname.split("/img/");
|
||||||
|
if (dirname.length > 1) return `${dirname[1]}-${path.basename(src)}`;
|
||||||
|
return path.basename(src);
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
eleventyConfig.addPlugin(eleventyNavigationPlugin);
|
eleventyConfig.addPlugin(eleventyNavigationPlugin);
|
||||||
|
|||||||
Reference in new issue
Block a user