Skip to content
Discussion options

You must be logged in to vote

Going through the documentation, I found content types, fields, and placeholders which allows me to do something like this:

  "frontMatter.taxonomy.contentTypes": [
    {
      "name": "default",
      "pageBundle": false,
      "previewPath": null,
      "template": "[[workspace]]/.frontmatter/templates/default.md",
      "fields": [ ... ]
    },
    {
      "name": "bundle with thumbnail",
      "pageBundle": true,
      "previewPath": null,
      "template": "[[workspace]]/.frontmatter/templates/default.md",
      "fields": [
        ...
        {
          "title": "Content preview",
          "name": "preview",
          "type": "image",
          "isPreviewImage": true,
          "d…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@estruyf
Comment options

@estruyf
Comment options

@rshmhrj
Comment options

Answer selected by rshmhrj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants