1 parent
59912cfb96
commit
63ced4bddf
2 files changed
+6
-2
No files matched your search
+6
-1
@@ -1,7 +1,9 @@
|
||||
import { attrs } from "@mdit/plugin-attrs";
|
||||
import { HtmlBasePlugin } from "@11ty/eleventy";
|
||||
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
|
||||
import eleventyNavigationPlugin from "@11ty/eleventy-navigation";
|
||||
|
||||
import { attrs } from "@mdit/plugin-attrs";
|
||||
|
||||
import pluginFilters from "./_config/filters.js";
|
||||
|
||||
export default async function(eleventyConfig) {
|
||||
@@ -26,6 +28,9 @@ export default async function(eleventyConfig) {
|
||||
.addPassthroughCopy("./greenhouse.jpg")
|
||||
.addPassthroughCopy("./favicon.ico");
|
||||
|
||||
/* HTML base */
|
||||
eleventyConfig.addPlugin(HtmlBasePlugin);
|
||||
|
||||
/* Images */
|
||||
eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
|
||||
// output image formats
|
||||
|
||||
@@ -4,7 +4,6 @@ layout: false
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
<?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">
|
||||
{% for page in collections.all %}
|
||||
{% if page.data.permalink != false %}
|
||||
|
||||
Reference in new issue
Block a user