Troubles With Hugo Date and Metadata

I am trying to get my list of books in a static webpage to access, and I feel like I have followed all the instructions for how to make front matter but I am getting the following errors:

ERROR 2017/08/08 16:18:47 failed to parse page metadata for "books/zevin-gabrielle/because-it-is-my-blood-99119.md": yaml: line 4: did not find expected key
ERROR 2017/08/08 16:18:47 Failed to parse date '2013-11-07T14:02:22+0000' in page books/zevin-gabrielle/in-the-age-of-love-and-chocolate-99120.md
ERROR 2017/08/08 16:18:47 Failed to parse date '2014-11-15T04:51:19+0000' in page books/zevin-gabrielle/all-these-things-i-ve-done-99118.md
Error: Error building site: Errors reading pages: Error: failed to parse page metadata for "books/austen-roger/genteel-pagan-the-double-life-of-charles-warren-stoddard-99425.md": yaml: line 4: did not find expected key for genteel-pagan-the-double-life-of-charles-warren-stoddard-99425.md
Error: failed to parse page metadata for "books/baker-deb/dolled-up-for-murder-99191.md": yaml: line 4: did not find expected key for dolled-up-for-murder-99191.md
Error: failed to parse page metadata for "books/bathroom-readers-institute/uncle-john-s-top-secret-bathroom-reader-for-kids-only-99384.md": yaml: line 4: did not find expected key for uncle-john-s-top-secret-bathroom-reader-for-kids-only-99384.md
Error: failed to parse page metadata for "books/bardach-janusz/man-is-wolf-to-man-surviving-the-gulag-99334.md": yaml: line 4: did not find expected key for man-is-wolf-to-man-surviving-the-gulag-99334.md
Error: failed to parse page metadata for "books/collings-michaelbrent/the-colony-descent-99133.md": yaml: line 4: did not find expected key for the-colony-descent-99133.md
Error: failed to parse page metadata for "books/corona-laurel/penelope-s-daughter-99309.md": yaml: line 4: did not find expected key for penelope-s-daughter-99309.md
Error: failed to parse page metadata for "books/daltry-sarah/her-brother-s-best-friend-99018.md": yaml: line 4: did not find expected key for her-brother-s-best-friend-99018.md
Error: failed to parse page metadata for "books/edgerton-clyde/raney-99006.md": yaml: line 4: did not find expected key for raney-99006.md
Error: failed to parse page metadata for "books/hiestand-heather/christmas-delights-99315.md": yaml: line 4: did not find expected key for christmas-delights-99315.md

This is one of the pages (it seems like it’s always line 4 (uuid) and my date tag that cause the issues):

---
title: "The Colony: Descent"
author: "Michaelbrent Collings"
uuid: "ebb_598a46863be60"
description: "THE DEAD WILL RISE AND THE LIVING WILL FALL.  The zombies have trapped them. Just a small band of survivors, alone in a building surrounded by hordes.  Ken's family is shattered. His wife doesn't trust him. His son is gone. And his daughters... are CHANGING.  The survivors want to fight. To live. But some of them will not survive. Some will die - or worse. And the rest will find that the only way out... is through a whole new set of terrors.  * * * THE COLONY: RENEGADES is the third volume of a bestselling apocalyptic series by #1 bestselling novelist Michaelbrent Collings  * * * From the author:   As with so many of my books, there are twists and turns throughout THE COLONY: DESCENT. So please remember: reviews are great, but please don't spoil the book for others by revealing the secrets!  Also, if you enjoy the book, please recommend it to a friend! The only way to keep your favorite authors working to bring you YOUR favorite books is not only to buy the book, but to encourage others to do so as well. Happy reading.... ### Review "I had planned on reading just a couple of chapters and ended up reading the entire book in one sitting! ... Rating: 4.5/5" - *Horror Novel Reviews* ### From the Author As with so many of my books, there are twists and turns throughout ***THE COLONY: DESCENT***.  So please remember: reviews are great, but ***please don't spoil the book for others by revealing the secrets!*** Also, if you enjoy the book, please recommend it to a friend!  The only way to keep your favorite authors working to bring you YOUR favorite books is not only to buy the book, but to encourage others to do so as well.  Happy reading...."
date: "2013-12-03T21:07:48+0000"
published: "2013-11-11T00:00:00+0000"
language: "en"
words: 37109
series: ""
series_index: 0.00
oldid: 99133
aliases: [ /books/99133/ ]
tags: ["Literature & Fiction", "Genre Fiction", "Horror", "Occult", "Science Fiction & Fantasy", "Science Fiction", "Alien Invasion", "Post-Apocalyptic"]
calibre: c1f4dde1-e9eb-4493-9324-935523dc2200
amazon: B00GMSLQXO
mobi-asin: B00GMSLQXO
---

THE DEAD WILL RISE AND THE LIVING WILL FALL.

The zombies have trapped them. Just a small band of survivors, alone in a building surrounded by hordes.

Ken's family is shattered. His wife doesn't trust him. His son is gone. And his daughters... are CHANGING.

The survivors want to fight. To live. But some of them will not survive. Some will die - or worse. And the rest will find that the only way out... is through a whole new set of terrors.

\* \* \*

THE COLONY: RENEGADES is the third volume of a bestselling apocalyptic series by #1 bestselling novelist Michaelbrent Collings

\* \* \*

From the author:   
As with so many of my books, there are twists and turns throughout THE COLONY: DESCENT. So please remember: reviews are great, but please don't spoil the book for others by revealing the secrets!

Also, if you enjoy the book, please recommend it to a friend! The only way to keep your favorite authors working to bring you YOUR favorite books is not only to buy the book, but to encourage others to do so as well. Happy reading....

\### Review

"I had planned on reading just a couple of chapters and ended up reading the entire book in one sitting! ... Rating: 4.5/5" - \*Horror Novel Reviews\*

\### From the Author

As with so many of my books, there are twists and turns throughout \*\*\*THE COLONY: DESCENT\*\*\*. So please remember: reviews are great, but \*\*\*please don't spoil the book for others by revealing the secrets!\*\*\*

Also, if you enjoy the book, please recommend it to a friend! The only way to keep your favorite authors working to bring you YOUR favorite books is not only to buy the book, but to encourage others to do so as well. Happy reading....



If anyone sees any other glaring issues I would love help getting this all sorted. One thing I have noticed is my bookids are not wrapped in quotes so I will fix that now.

Try this tool
http://www.yamllint.com

You can paste your front matter there. You can start deleting lines until you find what line is causing the error.

In this case it seems like it’s the description.

Using a different example with no description I still get an error on the date, your validator tool shows the file to be valid:

---
title: "The Nightmare Dilemma (Arkwell Academy)"
author: "Arnett, Mindee"
uuid: "ebb_598a468d8cb1b"
description: ""
date: "2014-03-09T17:19:33+0000"
published: "2014-03-04T00:00:00+0000"
language: "en"
words: 98884
series: ""
series_index: 0.00
oldid: 99316
aliases: [ /books/99316/ ]
tags: []
mobi-asin: B00H6E6AX4
---


Try changing your date to 2014-03-04T00:00:00.0000 and see if that helps. I seem to recall date formats being documented somewhere, but it escapes me right now.

I think there were issues in your description too, but it sounds like you’re aware of that.

1 Like