Closed
Description
I'm relatively new to Pug, so I may be missing something, but haven't been able to find an answer to this.
I've got a pretty bare-bones project so far, and wrote up a couple of posts using Pug. They've been working fine, until I tried resetting permalinks in the front matter; other front matter values seem to work fine (e.g. layout).
// my-sample-post.pug
---
title: My Sample Post
layout: default
permalink: link
---
p This is some text
Running eleventy
in the terminal, I get:
Writing site/<link/> from ./src/my-sample-post.pug
I tried changing the permalink to permalink: link.html
, but I get:
Writing site/<link class="html" /> from .src/my-sample-post.pug
So it looks like the permalink is being processed as Pug, not YAML. Am I missing something?