Conversation
Pure renames only, no content changes, so that git retains full file history. Content conversion follows in the next commit. - pages/<slug>/index.mdx -> content/<slug>/index.md (blog posts) - pages/*.js -> content/*.njk (standalone pages) - components/layout/index.js -> _includes/layout.njk - components/Post.js -> _includes/post.njk - components/layout/layoutStyle.css -> css/layout.css - components/Dither.js -> lib/dither.js - next.config.js -> eleventy.config.js Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Replaces Next.js, React and MDX with Eleventy 3.1.6. Pages and layouts
are Nunjucks templates, blog posts are plain Markdown with front matter.
All routes and rendered content are preserved; the built pages were
verified text-identical against the production site.
- eleventy.config.js: input dir content/, passthrough copies for
public/, css/ and post co-located images, dither shortcode, and the
50-160 character meta description build validation (previously in the
Post React component)
- _includes/layout.njk: base HTML document, header and navigation
(previously components/layout/index.js)
- _includes/post.njk: blog post template with title, date and
History & source link (previously components/Post.js)
- lib/dither.js: {% dither %} shortcode (previously the Dither React
component), posts use the equivalent plain HTML instead
- Posts: <Post> props became front matter (title, dateDisplay,
metaDescription, sourceFile), JSX images became plain <img> HTML,
JSX comments became HTML comments
- tools.njk: URL consts and link components became Nunjucks set
variables and macros
- vercel.json: build command, _site output directory, and no trailing
slash to match previous Next.js URL behaviour
- Markdown is not template-preprocessed (markdownTemplateEngine: false)
so code samples with template-like syntax stay intact
- Fixed a broken link typo in the TotalFinder post
([totalfinder} -> [totalfinder])
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
Author
|
Closed in favor of #34. |
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.
No description provided.