How to Use airheads in Your Project

Follow these simple steps to add SEO and social media metadata to your Air app:

Step 1: Install airheads

Run: pip install airheads or uv add airheads

Step 2: Import the library

Add: from airheads import build_social_head

Step 3: Add to your page

Use build_social_head() in your Html component

Step 4: Test your metadata

Use social media validator tools to check your tags

HowTo Schema

This page uses HowTo schema which can show steps directly in search results.

{
  "@context": "https://schema.org",
  "@type": "HowTo",
  "name": "How to Use airheads in Your Project",
  "description": "Step-by-step guide to adding airheads to your Air application",
  "step": [
    {
      "@type": "HowToStep",
      "position": 1,
      "name": "Install airheads",
      "text": "Run: pip install airheads or uv add airheads"
    },
    {
      "@type": "HowToStep",
      "position": 2,
      "name": "Import the library",
      "text": "Add: from airheads import build_social_head"
    },
    {
      "@type": "HowToStep",
      "position": 3,
      "name": "Add to your page",
      "text": "Use build_social_head() in your Html component"
    },
    {
      "@type": "HowToStep",
      "position": 4,
      "name": "Test your metadata",
      "text": "Use social media validator tools to check your tags"
    }
  ],
  "totalTime": "PT10M",
  "tool": [
    "Python",
    "pip or uv"
  ]
}

← Back to home