[Solved] Tag support for blog posts in CMS causing build fail?

Hi, as soon as I add tags to a .md post, the CMS builds fail, and the post disappears from the Admin section.

example tags:

tags = [

We’ll need more info to understand what might be happening here. Can you paste the relevant portion(s) of your configuration file, as well as a sample content file that’s failing?

1.- go to netlifycms, select Hugo CMS, to deploy in a new Github repo. Then wait for it to build, deploy, etc.
2.- Open one of the existing files, i.e. brewing-chemex.md
3.- Add sample tags (lines 2-7, below) to this file:

title: A beginners’ guide to brewing with Chemex
tags = [
date: 2017-01-04T15:04:10.000Z
description: >-
  Brewing with a Chemex probably seems like a complicated, time-consuming
  ordeal, but once you get used to the process, it becomes a soothing ritual
  that's worth the effort every time.
image: /img/blog-chemex.jpg

This [week](/wdwdw) we’ll **take** a look at all the steps required to make astonishing coffee with a Chemex at home. The Chemex Coffeemaker is a manual, pour-over style glass-container coffeemaker that Peter Schlumbohm invented in 1941, and which continues to be manufactured by the Chemex Corporation in Chicopee, Massachusetts\*.

In 1958, designers at the [Illinois Institute of Technology](https://www.spacefarm.digital) said that the Chemex Coffeemaker is *"one of the best-designed products of modern times"*, and so is included in the collection of the Museum of Modern Art in New York City.

## The little secrets of Chemex brewing

The Chemex Coffeemaker consists of an hourglass-shaped glass flask with a conical funnel-like neck (rather than the cylindrical neck of an Erlenmeyer flask) and uses proprietary filters, made of bonded paper (thicker-gauge paper than the standard paper filters for a drip-method coffeemaker) that removes most of the coffee oils, brewing coffee with a taste that is different than coffee brewed in other coffee-making systems; also, the thicker paper of the Chemex coffee filters may assist in removing cafestol, a cholesterol-containing compound found in coffee oils. Here’s three important tips newbies forget about:

1. Always buy dedicated Chemex filters.
2. Use a scale, don’t try to eyeball it.
3. Never skip preheating the glass.
4. Timing is key, don’t forget the clock.

The most visually distinctive feature of the Chemex is the heatproof wooden collar around the neck, allowing it to be handled and poured when full of hot water. This is turned, then split in two to allow it to fit around the glass neck. The two pieces are held loosely in place by a tied leather thong. The pieces are not tied tightly and can still move slightly, retained by the shape of the conical glass.

For a design piece that became popular post-war at a time of Modernism and precision manufacture, this juxtaposition of natural wood and the organic nature of a hand-tied knot with the laboratory nature of glassware was a distinctive feature of its appearance.

4.- Build fails


baseurl = "/"
languageCode = "en-us"
title = "Homepage"

Deploy log:

6:25:23 PM: ERROR 2019/06/06 00:25:23 failed to parse page metadata for "post/brewing-chemex.md": yaml: line 8: could not find expected ':' for post/brewing-chemex.md
6:25:23 PM: Total in 16 ms
6:25:23 PM: Error: Error building site: failed to parse page metadata for "post/brewing-chemex.md": yaml: line 8: could not find expected ':'
6:25:23 PM: [00:25:23]
6:25:23 PM: 'hugo' errored after 139 ms
6:25:23 PM: [00:25:23]
6:25:23 PM: Error: Hugo build failed

Hi @ghost can you replace the = with : and see if that works?

1 Like

Thanks! That was it :man_facepalming:

1 Like