claude-skills/docs/overrides/main.html
Claude c0d099deaf
docs(site): six tabs, start-here picks, search ranking, social cards, traffic history
- Nav: 12 top tabs down to 6 (Home, Skills, Plugins, Agents, Commands,
  Other Tools); Personas and Orchestration sit under Agents, guides and
  Custom GPTs under Other Tools. The hook keeps hand-written entries next
  to the generated ones.
- Domain pages: a "Start here" row of up to three picks per domain
  (scripts/docs_start_here.json, checked by G14), one card per plugin
  group so plugin-packaged skills (karpathy-coder, agenthub, ...) are no
  longer missing from the grid, card text from the skill description, and
  the same per-domain count the homepage shows.
- Search: skill pages boosted 2x, agent and command pages 0.5x, so a
  query lands on the skill before the wrappers that duplicate it.
- Social cards: Material social plugin, on only for the Pages deploy
  (SOCIAL_CARDS=true) with a fallback build without cards; main.html
  emits its own OG/Twitter tags only when the plugin is off.
- docs-preview.yml builds docs PRs the way Pages deploys them and uploads
  the site as an artifact.
- traffic-snapshot.yml saves GitHub's 14-day traffic data daily to a
  metrics branch; it does nothing until a TRAFFIC_TOKEN secret exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFH1Jfe2JqY8uFr4aBx
2026-11-04 18:46:18 +00:00

107 lines
4 KiB
HTML

{% extends "base.html" %}
{% block extrahead %}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VHRY2VKY9K"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-VHRY2VKY9K');
</script>
{% if page and page.meta %}
{#- The social plugin (on for the Pages deploy) writes its own Open Graph and
Twitter tags with a per-page card image; emit ours only when it is off. -#}
{% set social = config.plugins.get("material/social") or config.plugins.get("social") %}
{% if not (social and social.config.enabled) %}
<!-- Open Graph -->
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ page.meta.title or page.title }} - {{ config.site_name }}" />
<meta property="og:description" content="{{ page.meta.description or config.site_description }}" />
<meta property="og:url" content="{{ page.canonical_url }}" />
<meta property="og:site_name" content="{{ config.site_name }}" />
<meta property="og:image" content="https://opengraph.githubassets.com/1/alirezarezvani/claude-skills" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:locale" content="en_US" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{{ page.meta.title or page.title }} - {{ config.site_name }}" />
<meta name="twitter:description" content="{{ page.meta.description or config.site_description }}" />
<meta name="twitter:image" content="https://opengraph.githubassets.com/1/alirezarezvani/claude-skills" />
{% endif %}
<meta name="twitter:site" content="@nginitycloud" />
<meta name="twitter:creator" content="@nginitycloud" />
<!-- Additional SEO -->
<meta name="author" content="Alireza Rezvani" />
<meta name="robots" content="index, follow" />
<link rel="canonical" href="{{ page.canonical_url }}" />
{% endif %}
<!-- JSON-LD Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "{{ config.site_name }}",
"url": "{{ config.site_url }}",
"description": "{{ config.site_description }}",
"author": {
"@type": "Person",
"name": "{{ config.site_author }}",
"url": "https://alirezarezvani.com",
"sameAs": [
"https://github.com/alirezarezvani",
"https://alirezarezvani.medium.com",
"https://twitter.com/nginitycloud"
]
}
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "Claude Code Skills & Plugins",
"description": "{{ config.site_description }}",
"url": "{{ config.site_url }}",
"codeRepository": "https://github.com/alirezarezvani/claude-skills",
"programmingLanguage": ["Python", "Markdown"],
"runtimePlatform": "Claude Code, OpenAI Codex, Gemini CLI, Cursor, Aider, Windsurf, Kilo Code, OpenCode, Augment, Antigravity, Hermes Agent, Mistral Vibe, OpenClaw",
"license": "https://opensource.org/licenses/MIT",
"author": {
"@type": "Person",
"name": "{{ config.site_author }}",
"url": "https://alirezarezvani.com"
},
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"keywords": "agent skills, ai agent skills, claude code skills, claude code plugins, claude skills, ai agent workflows, agent plugins, openai codex skills, gemini cli skills, cursor rules, ai coding agent, claude code agents, slash commands, mcp server, coding assistant"
}
</script>
{% if page and page.meta and page.meta.description %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "TechArticle",
"headline": "{{ page.meta.title or page.title }}",
"description": "{{ page.meta.description }}",
"url": "{{ page.canonical_url }}",
"author": {
"@type": "Person",
"name": "{{ config.site_author }}"
},
"publisher": {
"@type": "Person",
"name": "{{ config.site_author }}"
}
}
</script>
{% endif %}
{% endblock %}