generated from inherentlee/11ty
1 parent
2257e5f6ed
commit
1566f5c30b
2 files changed
+4
-1
No files matched your search
@@ -1,3 +1,4 @@
|
|||||||
|
import { HtmlBasePlugin } from "@11ty/eleventy";
|
||||||
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
|
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
|
||||||
import eleventyNavigationPlugin from "@11ty/eleventy-navigation";
|
import eleventyNavigationPlugin from "@11ty/eleventy-navigation";
|
||||||
|
|
||||||
@@ -46,6 +47,9 @@ export default async function (eleventyConfig) {
|
|||||||
/* Passthroughs */
|
/* Passthroughs */
|
||||||
eleventyConfig.addPassthroughCopy("./favicon.ico");
|
eleventyConfig.addPassthroughCopy("./favicon.ico");
|
||||||
|
|
||||||
|
/* HTML base */
|
||||||
|
eleventyConfig.addPlugin(HtmlBasePlugin);
|
||||||
|
|
||||||
/* Images */
|
/* Images */
|
||||||
eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
|
eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
|
||||||
// output image formats
|
// output image formats
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ layout: false
|
|||||||
eleventyExcludeFromCollections: true
|
eleventyExcludeFromCollections: true
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<?xml-stylesheet type="text/xsl" href="sitemap.xsl" ?>
|
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||||
{% for page in collections.all %}
|
{% for page in collections.all %}
|
||||||
{% if page.data.permalink != false %}
|
{% if page.data.permalink != false %}
|
||||||
|
|||||||
Reference in new issue
Block a user