feat: add llms.txt, author config, and version command#14
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
Adds an optional author field (name + url) to laughing-man.yaml that propagates to: meta author tag, OG article:author, JSON-LD Person on index and issue pages, RSS managingEditor, and an Author section in llms.txt. Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…e:author to use URL - Add optional x_handle field to author config schema and SiteConfig type - Emit twitter:creator meta tag when x_handle is present (normalizes leading @) - Fix article:author content to use author URL instead of name, per OG spec - Update init.ts template to include the new x_handle field - Update tests to cover twitter:creator and the corrected article:author value Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Registers a PostToolUse hook in .claude/settings.json that runs ensure-build.sh after any Edit or Write tool call touching src/, themes/, package.json, or tsconfig.build.json. Co-Authored-By: Claude <noreply@anthropic.com>
Prevents YAML from parsing @your_handle as a tag literal. Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…andle Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
- llms.txt generation during build - raw .md files alongside each issue's HTML - Content-Type headers for llms.txt and .md via _headers - optional author config field with metadata across all outputs - --version / version command in CLI Co-Authored-By: Claude <noreply@anthropic.com>
Move issue markdown output from issues/N/index.md to issues/N.md so the llms.txt URL (issues/N.md) resolves as a static file, and add a Cloudflare _redirects rule to 301 any .html requests to the canonical directory URL. Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
llms.txtduring build with newsletter name, description, and issue links to raw Markdown filesauthorconfig field (name,url,x_handle) tolaughing-man.yaml<meta name="author">, JSON-LD Person,article:author(OG, uses URL per spec),twitter:creator, RSS<managingEditor>, and llms.txt author sectionindex.mdalongside each issue's HTML for LLM consumptionContent-Typeheaders forllms.txtand.mdfiles via_headersversion/--versionandhelpsubcommands to CLIbun run buildon source editsTest plan
llms.txtand.mdContent-Type headers on Cloudflare Pagesversioncommand works from both source and compiled🤖 Generated with Claude Code