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

Image Standards

URL Structure

Validation

Run the smoke test before pushing changes:

./scripts/check-seo.sh

Monitoring

Google Sites Limitations

Homepage (Google Sites)

Workarounds

  1. Focus on optimizing content within Google Sites' native editor
  2. Use the built-in SEO settings for title and description
  3. Ensure proper heading structure (H1, H2, etc.)
  4. Optimize image alt text
  5. Use descriptive link text

Change Control

Any changes to this contract require:

  1. Update this document
  2. Update related templates
  3. Test affected pages
  4. Update sitemap if URL structure changes