Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating articles from template does not apply settings #38

Closed
c-antin opened this issue Jun 27, 2021 · 1 comment
Closed

Creating articles from template does not apply settings #38

c-antin opened this issue Jun 27, 2021 · 1 comment

Comments

@c-antin
Copy link

c-antin commented Jun 27, 2021

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 :)

@estruyf
Copy link
Owner

estruyf commented Jun 28, 2021

Fix will be released with v1.17.1

@estruyf estruyf closed this as completed Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants