About this CMS

Sun, Nov 24, 2019

Read in 2 minutes

This site is a trial of Victor Hugo. It has some pros and some cons.

About this CMS

So this is a premade demonstration of a Hugo website using Netlify CMS.

To gain the admin interface simply add /admin to the url.

  1. Content appears editable but you can only add new pages as blog posts.
  2. You can’t change the menu titles via the CMS. You can by visiting the repo (more below).
  3. Posts can be edited in Markdown or rich text.
  4. However it appears to be built on Tachyons and PostCSS with cssnext and cssnano. This makes some of the styling a little wierd in some places and you need to use special classes to get things to behave normally.
  5. Text areas can only be formatted in one place. That’s because each page consists of just one markdown file like a regular Hugo site. The other instances are plain text stored as frontmatter variables in the markdown file’s frontmatter. So there is no way to add even things like a line break.
  6. Changes are saved by clicking ‘publish’ but they might take several minutes before they’re live.

Also note: Changes made on Netlify ARE reflected in the Git repo. You CAN change the main nav headings like that by going into partials/nav.html.

The CMS

The CMS options are stored in a config.yaml file in a folder static/admin/config.yml. This is quite a complicated beast but at least it’s YAMLand should allow a lot of options to change things, like the above. There is whole website with info about this NetlifyCMS.org

Here’s an unordered list:

No indent as in the ordered list, seems strangely inconsistent.

Conclusion

To make good use of this site template (Victor Hugo) you may need to download and develop locally. The restricted editing would be good for allowing non techy people to edit the site though.

###