Skip to content

Creating articles from template does not apply settings #38

Closed

Description

@c-antin

Those are my settings:

{
    "frontMatter.taxonomy.noPropertyValueQuotes": [
        "date",
        "lastmod"
    ],
    "frontMatter.taxonomy.dateFormat": "yyyy-MM-dd'T'HH:mm:ssxxx"
}

This is the template:

---
date: 2021-01-01T00:00:00+00:00
lastmod: 2021-01-01T00:00:00+00:00
title: empty
---

This is the created article:

---
date: '2021-06-27T01:51:06+02:00'
lastmod: 2021-01-01T00:00:00.000Z
title: Test
---

date is quoted and lastmod changed date format. But should be updated, I guess.

May be related to #34

But overall: nice extension :)

Activity

  1. estruyf commented on Jun 28, 2021

    @estruyf
    Owner

    Fix will be released with v1.17.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions