I have a post type that contains a slug field. When creating a new post, it does not automatically populate that field (such as a Date field does). Additionally, updating the content of that field does not automatically rename the file unless you hit the "Optimize Slug" button.
I have a post type that contains a slug field. When creating a new post, it does not automatically populate that field (such as a Date field does). Additionally, updating the content of that field does not automatically rename the file unless you hit the "Optimize Slug" button.
<!-- github-sync-id:1377136873 -->
In the previous release, a new `slug` field can be used from the panel, and with the `{slug}` placeholder, it can be automatically populated.
#349 should cover this issue.
<!-- github-comment-id:1250665839 -->
Documentation from the Slug field can be found here: https://frontmatter.codes/docs/content-creation/fields#slug
Example:
```json
{
"title": "Slug",
"name": "slug",
"type": "slug",
"default": "{{slug}}"
},
```
<!-- github-comment-id:1250668472 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I have a post type that contains a slug field. When creating a new post, it does not automatically populate that field (such as a Date field does). Additionally, updating the content of that field does not automatically rename the file unless you hit the "Optimize Slug" button.
In the previous release, a new
slugfield can be used from the panel, and with the{slug}placeholder, it can be automatically populated.#349 should cover this issue.
Documentation from the Slug field can be found here: https://frontmatter.codes/docs/content-creation/fields#slug
Example: