Skip to content

Feat/llms txt generator#2694

Closed
kuibinlin wants to merge 2 commits intocotes2020:masterfrom
kuibinlin:feat/llms-txt-generator
Closed

Feat/llms txt generator#2694
kuibinlin wants to merge 2 commits intocotes2020:masterfrom
kuibinlin:feat/llms-txt-generator

Conversation

@kuibinlin
Copy link
Copy Markdown

@kuibinlin kuibinlin commented Mar 23, 2026

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (refactoring and improving code)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Description

Movtivation:

SEO helps static sites rank on Google, but it does nothing for AI-powered search tools like ChatGPT, Perplexity, and Claude, which are increasingly how people discover and summarize personal blogs.

These tools have no structured way to understand a Jekyll (Chirpy theme) site. They parse raw HTML through navigation, sidebars, and footers to piece together what the site is about. Blog owners who put effort into writing content have no way to optimise their visibility in LLM-powered search results.

Just as sitemap.xml solved discoverability for traditional search engines, llms.txt (https://llmstxt.org/) is an emerging standard that solves it for LLMs — giving Chirpy theme users a way to go beyond traditional SEO and make their sites visible to the next generation of search.

Solution:

A generator plugin _plugins/llms-txt-generator.rb that creates /llms.txt (and optionally /llms-full.txt) during the Jekyll build, following the llmstxt.org spec.

llms.txt — a clean markdown index with the site title, description, and links to all pages and posts
llms-full.txt — the full body content of every page and post in one file, so an LLM can understand the entire site in a single request
This would help Chirpy theme users' blogs surface better when people ask AI tools questions related to their content.

Implementation details:

  • Opt-in via llms_txt.enabled: true in _config.yml
  • Zero impact when disabled
  • Auto-reads existing _data/contact.yml for a contacts section
  • No new dependencies (Nokogiri already ships with Jekyll)

Additional context

Fixes feat: generate /llms.txt for LLM-friendly site content #2690

Fixed feat: add llms.txt generator plugin for LLM-friendly content #2692

Fixed feat: generate /llms.txt and /llms-full.txt for LLM-friendly site content #2693

Here's why this is the better fit:

This plugin generates /llms.txt and optionally /llms-full.txt for LLM-friendly site content, utilizing data from _data/contact.yml and site configuration.

Signed-off-by: Kuibin Lin <69464353+kuibinlin@users.noreply.github.com>
Add LLMs.txt settings to the configuration file.

Signed-off-by: Kuibin Lin <69464353+kuibinlin@users.noreply.github.com>
@kuibinlin kuibinlin force-pushed the feat/llms-txt-generator branch from 9793016 to 82eace6 Compare March 23, 2026 02:10
@cotes2020 cotes2020 closed this Mar 24, 2026
@kuibinlin kuibinlin deleted the feat/llms-txt-generator branch March 25, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: generate /llms.txt for LLM-friendly site content

2 participants