I am using hugo 0.18.1. My archetype for post
section looks like this:
+++
title = ""
description = ""
date = "now()"
tags = []
categories = []
series = []
+++
However, when I try to create a new post by typing hugo new post/somepost.md
I get this error:
ERROR: 2017/01/21 21:56:21 content.go:61: Error processing archetype file PATH_TO_DIR\themes\hugolb\archetypes\post.md: Could not parse Date/Time format: Unable to parse date: now()
Error: Could not parse Date/Time format: Unable to parse date: now()
What am I doing wrong? I have tried now()
with and without enclosing quotes to no avail.