Skip to content

Enhancement: setting variables for contentTypes fields in template defintion #225

Description

@wemasoe

First at all, a really nice project. I appreciate using this extension.

For now i don´t have understand how to use variables in the frontmatter conent-type definition.
When creating a new content the title: and slug: are filled with the name of the filename.
The article.md template file has two variable definitions.
Example:

title: "{{name}}"
slug: "/{{kebabCase name}}/"

Is it somehow possible to define this variable for other taxonomy content types.

Example:

title: "{{name}}"
slug: "/{{kebabCase name}}/"
permalink: "{{name}}"

For now only the title: and slug: has the filename filled out.

title: created filename
slug: created-filename
permalink: '{{name}}'

How can i resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions