// readme

A CMS that lives in your Git repo. Markdown files in, static site out, edited in the browser — no database, no server, nothing to patch.

Website · Try the editor · Live demo · Quickstart · Contributing

Moving an existing site in

NEW: WordPress migration. Bring your whole WordPress site over with one command — posts, pages, images, menu, comments, and every old URL redirected.

From WordPress, in three steps:

  1. In your WordPress dashboard: Tools → Export → All content → Download Export File. You get one .xml file.

  2. In your plain repo, run:

    node tools/migrate/wordpress.js ~/Downloads/yoursite.WordPress.xml
    
  3. Copy the result in and build:

    cp -R plain-import/content/. content/
    cp -R plain-import/media/. media/
    cp plain-import/data/redirects.json data/redirects.json
    node build.js
    

What comes across: posts (to /blog/<slug>/) and pages (to /<slug>/, your static front page becomes the…