SEO Contract & Front Matter Standards
This document outlines the required front matter keys and SEO standards for all pages in the Elevationary Agent microsite.
Required Front Matter
Core Metadata
---
# Required for all pages
title: "Page Title | Elevationary" # Max 60 chars
description: "Concise description for search results (150-160 chars)"
permalink: "/path/to/page/" # Must be absolute path with leading/trailing slashes
---
SEO-Specific
# Recommended for better control
canonical: "https://agent.elevationary.com/full/url/" # Only set if different from permalink
robots: "index, follow" # Override default indexing behavior if needed
og_image: "/path/to/og-image.jpg" # 1200x630px, JPG/PNG, <1MB
Content Pages
---
layout: "page.njk" # Or appropriate layout
# ... core metadata ...
lastmod: 2025-11-02 # Last modified date (YYYY-MM-DD)
head_jsonld: |
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"name": "Page Title",
"description": "Page description",
"url": "https://agent.elevationary.com/full/url/"
}
</script>
---
File Naming Conventions
- Use kebab-case for all filenames (e.g.,
my-article.md)
- Match the filename to the URL slug when possible
- Use descriptive, keyword-rich names
Image Standards
- Format: WebP (preferred) or JPG for photos, SVG for icons/logos
- Dimensions:
- Open Graph: 1200×630px
- Hero images: 1920×1080px
- Thumbnails: 400×300px
- Naming:
descriptive-name-keywords.jpg (lowercase, hyphens)
- Alt Text: Required for all images, max 125 chars
URL Structure
- Use lowercase with hyphens
- Keep URLs short but descriptive
- Avoid dates in URLs unless time-sensitive content
- Use canonical tags for duplicate content
Validation
Run the smoke test before pushing changes:
./scripts/check-seo.sh
Monitoring
- Google Search Console
- Google Analytics 4
- Regular sitemap validation
- Broken link checks
Google Sites Limitations
Homepage (Google Sites)
- Custom JSON-LD: Not supported
- Custom HTML/JavaScript: Not supported
- Meta Tags: Limited to basic title and description
- Canonical URLs: Automatically managed by Google
- Structured Data: Automatically generated by Google
Workarounds
- Focus on optimizing content within Google Sites' native editor
- Use the built-in SEO settings for title and description
- Ensure proper heading structure (H1, H2, etc.)
- Optimize image alt text
- Use descriptive link text
Change Control
Any changes to this contract require:
- Update this document
- Update related templates
- Test affected pages
- Update sitemap if URL structure changes