Frontmatter Standards
This guide defines the standard frontmatter metadata fields to be used across all content types in RallyPoynt OS documentation. Consistent frontmatter helps maintain content quality, improves search functionality, and enables advanced features like content filtering, relationship mapping, and dynamic navigation.
What is Frontmatter?
Frontmatter is metadata at the beginning of Markdown files, enclosed by triple dashes (---). It provides structured data about the content using YAML syntax:
---
title: Example Document
description: This is an example document showing frontmatter usage
---
Required Fields
These fields must be included in all content:
| Field | Type | Description | Example |
|---|---|---|---|
title | String | The title of the document (displayed as the main heading) | "Client Onboarding Process" |
description | String | A brief description (used for SEO and preview cards) | "Step-by-step guide for onboarding new real estate clients" |
Common Fields
These fields should be included whenever applicable:
| Field | Type | Description | Example |
|---|---|---|---|
sidebar_position | Number | Position in the sidebar (lower numbers appear first) | 2 |
tags | Array | Keywords for categorization and search | ["process", "client", "onboarding"] |
businessArea | String | Primary business area for the content | "operations" |
contentLevel | String | The content type for specialized filtering | "article" |
lastUpdated | Date | Date of last content update (YYYY-MM-DD) | "2023-07-15" |
slug | String | Custom URL path (overrides default path) | "/custom-url-path" |
Specialized Fields
These fields are used for specific content types or features:
| Field | Type | Description | Example |
|---|---|---|---|
id | String | Unique identifier (for cross-referencing) | "client-onboarding" |
implementationDifficulty | String | Difficulty level for implementation guides | "medium" |
implementationTime | Number | Estimated minutes required for implementation | 60 |
relatedPages | Array | Related content page IDs | ["client-management", "intake-form"] |
associatedResources | Array | Associated resource IDs | ["onboarding-checklist", "client-profile-template"] |
technicalLevel | String | Technical complexity for developers | "intermediate" |
author | String | Content author | "RallyPoynt Team" |
showComments | Boolean | Whether to display comment section | true |
Content Type-Specific Fields
Article Pages
---
title: Building Client Relationships
description: Strategies for developing strong, lasting client relationships
sidebar_position: 2
tags: [clients, relationships, communication]
businessArea: sales
contentLevel: article
lastUpdated: 2023-07-20
implementationDifficulty: medium
relatedPages: [client-communication, follow-up-systems]
---
Process Documentation
---
title: Transaction Coordination Process
description: End-to-end process for managing real estate transactions
sidebar_position: 3
tags: [process, transactions, coordination]
businessArea: operations
contentLevel: process
lastUpdated: 2023-07-18
implementationDifficulty: hard
implementationTime: 120
relatedPages: [contract-management, closing-checklist]
associatedResources: [transaction-timeline-template]
---
Component Documentation
---
title: Interactive Checklists
description: Implementation guide for using interactive checklist components
sidebar_position: 4
tags: [components, checklists, interactive]
businessArea: systems
contentLevel: component
technicalLevel: intermediate
lastUpdated: 2023-07-22
---
Resource Pages
---
title: Client Intake Form
description: Standardized form for gathering new client information
sidebar_position: 1
tags: [template, forms, clients]
businessArea: operations
contentLevel: resource
lastUpdated: 2023-07-10
id: client-intake-form
relatedPages: [client-onboarding, crm-setup]
---
Field Values Reference
Business Areas
operations- Operational systems and frameworkssales- Lead generation, conversion, and transaction processessystems- Workflow documentation and technology implementationtraining- Onboarding, coaching, and skill development
Content Levels
article- Standard documentation contentprocess- Process documentation and workflowscomponent- Component and feature documentationresource- Templates, checklists, and downloadable resourcesguide- Step-by-step implementation guidesreference- Technical reference documentation
Implementation Difficulty
easy- Can be implemented in under an hour with minimal preparationmedium- Requires several hours and moderate preparationhard- Requires significant planning and implementation time
Technical Levels
basic- Suitable for all users, no technical knowledge requiredintermediate- Requires some technical knowledge or experienceadvanced- Requires significant technical expertise
Validation Rules
The following validation rules apply to frontmatter:
titleanddescriptionfields are required for all contentdescriptionshould be between 50-160 characters for optimal SEObusinessAreamust be one of the predefined valuescontentLevelmust be one of the predefined valueslastUpdatedmust be a valid date in YYYY-MM-DD formatimplementationDifficultymust be "easy", "medium", or "hard" when usedtagsshould contain at least one tag and no more than 10slugmust be a valid URL path starting with a slash
Automation Support
Several frontmatter fields can be automatically generated or validated:
lastUpdatedcan be auto-populated from git historybusinessAreacan be inferred from file locationidcan be generated from the file pathrelatedPagescan be suggested based on content similaritytagscan be suggested based on content analysis
Best Practices
- Be Concise: Keep frontmatter values brief and to the point
- Be Consistent: Follow naming conventions for related content and resources
- Be Complete: Include all relevant metadata fields for the content type
- Be Accurate: Ensure information like implementation time and difficulty is accurate
- Be Specific: Choose specific tags rather than generic ones
- Be Structured: Follow the YAML syntax precisely (spacing matters)
Migration Strategy
For existing content, apply these standards gradually:
- Add required fields to all content
- Add common fields to high-traffic content
- Add specialized fields based on content type
- Validate and refine all frontmatter fields
Implementation Roadmap
- Update documentation templates with standard frontmatter
- Create validation scripts to enforce standards
- Implement automated metadata generation
- Develop relationship management system
- Create metadata extraction system