3/1/2021

How to edit the content

And what to expect when running a repo-based CMS

It is easy to write markdown-enabled content like this placeholder text, with support for images and even code snippets.

If you are in local development-mode (npm run dev) you can double-click here to edit and save this page quickly.

const formatDate = (dateString) => {
  return new Date(dateString).toLocaleDateString(runtimeConfig.public.lang) || ''
}

Placeholder Kitten

Steps to take:

  1. Go to admin: You can navigate to the admin-page by typing in /admin after the URL your browser’s omnibox above.
  2. Navigate to Blog: In blog you can edit existing blog posts like this one, remove it, or create new ones. They’ll be added to a pull request by Netlify CMS that you merge in the next step by saving.
  3. Save your changes: After you have edited the content on the site, you need to save. This will trigger Netlify CMS to merge the PR to the main branch (it will show up in your git log).
  4. Grab a coffee: After saving, you have to wait for Netlify to build your main branch (which probably takes 2-5 minutes, depending on your setup). If you’re a control-freak, login to Netlify to watch your build run and see when it is published. You can also publish older commits from there."