Files
claude-skills-reference/docs/overrides/main.html
Reza Rezvani 543646a0ac feat(docs): comprehensive GitHub Primer theme overhaul with dark mode fix
- Fix broken dark mode by correcting palette toggle order and setting primary/accent to custom
- Rewrite extra.css with full GitHub Primer color scheme (light: #ffffff/#0969da, dark: #0d1117/#1f6feb)
- Style header, sidebar, buttons, cards, code blocks, and tables to match GitHub aesthetic
- Add Open Graph and Twitter Card meta tags via main.html override
- Add JSON-LD structured data (WebSite + SoftwareApplication schemas)
- Add announcement bar (v2.1.2 release)
- Add custom 404 page with navigation buttons
- Remove inline styles from skills/index.md (moved to extra.css)
- Mobile responsive adjustments for hero sections

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 11:54:41 +01:00

64 lines
2.0 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 %}
<!-- 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 }}" />
<!-- 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:site" content="@nginitycloud" />
{% 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 }}"
}
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Claude Code Skills",
"applicationCategory": "DeveloperApplication",
"operatingSystem": "Cross-platform",
"description": "{{ config.site_description }}",
"url": "{{ config.site_url }}",
"author": {
"@type": "Person",
"name": "{{ config.site_author }}"
},
"license": "https://opensource.org/licenses/MIT",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
}
}
</script>
{% endblock %}