From Dotclear to Eleventy
Introduction
I will list here the main steps for migrating my blog from Dotclear to Eleventy. I’ll keep the nice bits of code I used, the problems I encountered and how I solved them, and the caveats I should avoid next time.
Table of content
-
Introduction
Explaining the motivations behind the project and what I intended to do. There’s too much of my life here; you may skip that part. -
Install eleventy
The easy part of bootstrapping the project with a new repository using Huwindty as the Eleventy starter. -
Migrating the content
Extract data from the database, generate the markdown pages, copy images and files to the new repo. -
Rebuilding navigation and pages
Display comments as they should, create pagination, categories, and tags the Eleventy way. -
Other features
Handle subfooters for recuring related links, drafts and publication workflow, abstracts and search.