Skip to content

11ty (Eleventy)

Install the plugin:

Terminal window
npm install @aeorank/11ty

Add the plugin to your Eleventy config:

.eleventy.js
const aeorank = require("@aeorank/11ty");
module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(aeorank, {
siteName: "My Site",
siteUrl: "https://example.com",
description: "A description of your site for AI crawlers.",
organization: {
name: "My Company",
},
faq: [
{ question: "What does your product do?", answer: "It helps you..." },
],
});
};

The plugin hooks into the eleventy.after event and writes all 8 AEO files to your output directory after each build.

After eleventy, all 8 AEO files are in _site/: llms.txt, llms-full.txt, CLAUDE.md, schema.json, robots-patch.txt, faq-blocks.html, citation-anchors.html, sitemap-ai.xml.