# --------------------------------------------------------------- # Relations Tags # --------------------------------------------------------------- - name: tags label_singular: 🏷 Tag label: 🏷 Tags description: "Tagging to generate content for collections" folder: "src/content/tag" slug: "{{title}}" summary: "🏷 {{title}} " hide: false create: true delete: false editor: preview: false fields: - label: "title" name: "title" widget: "string" required: true - label: "📷 Image" name: "image" widget: "image" default: /content/upload/default.png choose_url: true required: false media_library: config: multiple: true media_folder: "src/content/upload/" - label: "👩‍💻 Body" name: "body" widget: "markdown" buttons: - link - bold - italic - code - heading-one - heading-two - heading-three - code - quote - bulleted-list editor_components: - image - video - code-block required: false hint: help text - name: card label: 🃏 Card widget: object collapsed: true summary: "Title: '{{fields.title}}' | Image: {{fields.image}} | Text: '{{fields.text}}'" fields: - { label: "title", name: "title", widget: "string", required: false } - { label: "Image", name: "image", widget: "image", required: false, choose_url: true } - { label: "Text", name: "text", widget: "text", required: false } - name: opengraph label: 👋 Opengraph widget: object collapsed: true summary: "Title: '{{fields.title}}' | Image: {{fields.image}} | Description: '{{fields.description}}'" fields: - { label: "Image", name: "image", widget: "image", required: false, choose_url: true } - { label: "Title", name: "title", widget: "string", required: false, hint: 'Opengraph Card title' } - { label: "Description", name: "description", widget: "text", required: false } - name: seo label: 🔍 SEO widget: object collapsed: true summary: " Title: '{{fields.title}}' | Description: '{{fields.content}}' | Robots: {{fields.index}}, {{fields.follow}} " fields: - { label: "title", name: "title", widget: "string", required: false, hint: 'seo title not above 65 characters' } - { label: "Meta Description", name: "description", widget: "text", required: false, hint: "Keep it between 70 - 155 characters" } - label: "Show this page in search Engines" name: "index" widget: "select" default: "index" required: false options: - { label: "Yes", value: "index" } - { label: "No dont show", value: "noindex" } - label: "Search Engines follow the links" name: "follow" widget: "select" default: "nofollow" required: false options: - { label: "Yes", value: "follow" } - { label: "No", value: "nofollow" } - name: eleventyNavigation label: 🍔 Menu widget: object collapsed: true summary: " Title: {{fields.title}} | Parent: {{fields.parent}} | Text: {{fields.text}} | Key: {{fields.key}} | Order: {{fields.order}} | " fields: - { label: "title", name: "title", widget: "string", required: false} - name: "parent" label: Parent page widget: relation collection: page searchFields: [title] valueField: "{{eleventyNavigation.key}}" displayFields: ["Title: {{title}} | key: '{{eleventyNavigation.key}}'"] required: false multiple: false - { label: "Machine key", name: "key", widget: "string", required: false, hint: "The Key is used by the system Main is used for the frontpage - and should always be" } - { label: "Order", name: "order", widget: "number", required: false} - { label: "Text", name: "text", widget: "text", required: false} - { label: "icon", name: "icon", widget: "string", required: false, hint: "A string used for an icon file name " } - name: "layout" label: "💅 Select Template" widget: relation collection: tagtemplates searchFields: [saga-template-name] valueField: "tag/{{filename}}.{{extension}}" displayFields: ["saga-template-name", " (File: layouts/tag/{{filename}}.{{extension}})"] required: true default: "page/page.liquid"