Alcor Jekyll documentation

Edit in a browser (Sveltia CMS)

Edit Alcor's sections and settings in a browser with Sveltia CMS, on your own computer or on your live site, without touching YAML.

From version 1.1.0, Alcor comes with Sveltia CMS, a free, open-source editor that runs in your browser. It shows each section of your page as a form, and saves your changes back into index.md and _config.yml. There’s no database and no server to run. We tested it with Sveltia CMS 5.0.0 on 27 November 2026.

Two files make it work, both in the admin/ folder:

  • admin/index.html loads the editor.
  • admin/config.yml tells it which fields each section has.

Get the files

  • Template copy: the admin/ folder is already in your repository. Open admin/config.yml and change repo: Tortoiz-Themes/alcor-jekyll to your own repository, such as your-name/your-site.
  • Remote theme or gem: a theme only brings its layouts and includes, so copy the admin/ folder from the Alcor repository into the root of your site. Then change the repo line the same way.

Don’t add admin to exclude: in _config.yml, or Jekyll won’t publish it.

Edit on your computer

This works on Windows, macOS and Linux, and needs no sign-in. It uses a browser feature that only Chromium browsers have, so use Google Chrome, Microsoft Edge or Brave. It doesn’t work in Firefox or Safari.

  1. Start your site: bundle exec jekyll serve. (New to Jekyll on Windows? Follow How to install Ruby and Jekyll first.)
  2. In Chrome or Edge, open http://localhost:4000/admin/.
  3. Click Work with Local Repository and choose your site’s folder, the one with _config.yml in it.
  4. Allow the browser to view and edit the files when it asks.
  5. Open Pages → Home page to edit your sections, or Settings → Site settings for your name, email, links, availability badge and contact form.
  6. Click Save. The CMS writes the change into the file straight away.
  7. Check http://localhost:4000/, then commit and push with Git or GitHub Desktop, as you would after editing a file by hand.

Changes to the home page show up as soon as Jekyll rebuilds. Changes to Site settings live in _config.yml, which jekyll serve only reads when it starts, so stop it and start it again to see them.

By default the CMS saves files and leaves committing to you. To have it commit each save, open its Settings, choose Developer and turn on Commit Changes to Git. It commits to your current branch with the name and email set in the repository itself (git config --local user.name "Your Name"), and you still push yourself.

Edit on your live site

To edit at https://your-site.com/admin/ from any computer, the CMS has to sign in to GitHub. GitHub Pages can’t do that part on its own, so you choose one of these:

  • Sign In Using Access Token: the sign-in box links to GitHub’s token page with the right permissions already ticked. If you make a fine-grained token yourself, limit it to your site’s repository with read and write access to Contents. Paste it in, and the browser remembers it. This is the quickest way for one or two editors.
  • Sign In with GitHub: deploy the free Sveltia CMS Authenticator to Cloudflare Workers, then add its address to admin/config.yml as base_url under backend:. Its README walks through the GitHub App it needs.

Every editor needs a GitHub account with write access to the repository. Each save becomes a commit, and GitHub Pages rebuilds the site in a minute or two.

Pictures

Pictures you upload go to assets/images/ and are linked as /assets/images/your-picture.jpg. Give each one a description, and fill in its width and height if you know them, so the page doesn’t jump while it loads. To change where uploads go, edit media_folder and public_folder at the top of admin/config.yml.

What the CMS changes in your files

The CMS rewrites a file when it saves it. Your content stays the same, but:

  • Comments in _config.yml and in index.md’s front matter are removed. They only explain the settings, and these docs explain them too.
  • Some keys move to a different line, and "double" quotes may become 'single' ones. Jekyll reads both the same way.
  • Each section gets a hidden: false line.

If you’d rather keep _config.yml exactly as you wrote it, delete the settings collection from admin/config.yml and edit that file by hand.

Removing the CMS

Delete the admin/ folder. Nothing else in Alcor depends on it.