mirror of
https://github.com/thecyberlearn/quantum-ai-v3.git
synced 2026-08-18 10:12:58 +00:00
🔄 Revert to original working social media meta tags configuration
**Found Root Cause in Git History:**
- Checked git history and found working implementation in commit cae8d4a
- Original used simple {% static %} tags without absolute URLs
- Used {{ request.build_absolute_uri }} for URLs instead of manual construction
- Had nested block structure for better inheritance
- No cache-busting version parameters or dimension overrides
**Reverted Changes:**
- Restored original block tag nesting structure
- Removed absolute URL construction (Django handles this automatically)
- Removed manual dimension specifications that were causing mismatches
- Removed cache-busting parameters that may confuse social platforms
- Simplified meta tag structure to match proven working version
**Why This Should Work:**
- Django's {% static %} tag automatically generates correct absolute URLs
- {{ request.build_absolute_uri }} provides proper canonical URLs
- Simpler structure = fewer points of failure
- Matches exact implementation that was confirmed working
**Testing:** Use Facebook Sharing Debugger and Twitter Card Validator to verify
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
afef3e054f
commit
b63bf51cbc
@ -11,24 +11,19 @@
|
|||||||
<meta name="keywords" content="AI, artificial intelligence, automation, task management, AI agents, quantum computing">
|
<meta name="keywords" content="AI, artificial intelligence, automation, task management, AI agents, quantum computing">
|
||||||
<meta name="author" content="Quantum Tasks AI">
|
<meta name="author" content="Quantum Tasks AI">
|
||||||
|
|
||||||
<!-- Open Graph Meta Tags for Rich Link Previews -->
|
<!-- Open Graph Meta Tags for Social Media -->
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:title" content="{% block og_title %}{% block title %}Quantum Tasks AI - AI Platform{% endblock %}{% endblock %}">
|
||||||
|
<meta property="og:description" content="{% block og_description %}{% block meta_description %}Quantum Tasks AI - Advanced AI platform for automation and intelligent task management. Access powerful AI agents for your business needs.{% endblock %}{% endblock %}">
|
||||||
|
<meta property="og:image" content="{% block og_image %}{% static 'img/og-image.png' %}{% endblock %}">
|
||||||
|
<meta property="og:url" content="{% block og_url %}{{ request.build_absolute_uri }}{% endblock %}">
|
||||||
|
<meta property="og:type" content="{% block og_type %}website{% endblock %}">
|
||||||
<meta property="og:site_name" content="Quantum Tasks AI">
|
<meta property="og:site_name" content="Quantum Tasks AI">
|
||||||
<meta property="og:title" content="{% block og_title %}Quantum Tasks AI - AI Platform{% endblock %}">
|
|
||||||
<meta property="og:description" content="{% block og_description %}Advanced AI agent marketplace for automation, analysis, and productivity. Access powerful AI tools for business and personal use.{% endblock %}">
|
|
||||||
<meta property="og:url" content="{% block og_url %}https://www.quantumtaskai.com{{ request.get_full_path }}{% endblock %}">
|
|
||||||
<meta property="og:image" content="{% block og_image %}https://www.quantumtaskai.com{% static 'img/og-image.png' %}?v=3{% endblock %}">
|
|
||||||
<meta property="og:image:width" content="1200">
|
|
||||||
<meta property="og:image:height" content="630">
|
|
||||||
<meta property="og:image:type" content="image/png">
|
|
||||||
<meta property="og:image:alt" content="Quantum Tasks AI - Advanced AI Platform">
|
|
||||||
|
|
||||||
<!-- Twitter Card Meta Tags -->
|
<!-- Twitter Card Meta Tags -->
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:site" content="@quantumtaskai">
|
<meta name="twitter:title" content="{% block twitter_title %}{% block og_title %}{% block title %}Quantum Tasks AI - AI Platform{% endblock %}{% endblock %}{% endblock %}">
|
||||||
<meta name="twitter:title" content="{% block twitter_title %}Quantum Tasks AI - AI Platform{% endblock %}">
|
<meta name="twitter:description" content="{% block twitter_description %}{% block og_description %}{% block meta_description %}Quantum Tasks AI - Advanced AI platform for automation and intelligent task management. Access powerful AI agents for your business needs.{% endblock %}{% endblock %}{% endblock %}">
|
||||||
<meta name="twitter:description" content="{% block twitter_description %}Advanced AI agent marketplace for automation, analysis, and productivity. Access powerful AI tools for business and personal use.{% endblock %}">
|
<meta name="twitter:image" content="{% block twitter_image %}{% block og_image %}{% static 'img/og-image.png' %}{% endblock %}{% endblock %}">
|
||||||
<meta name="twitter:image" content="{% block twitter_image %}https://www.quantumtaskai.com{% static 'img/og-image.png' %}?v=3{% endblock %}">
|
|
||||||
|
|
||||||
<!-- Unified Font Loading - Single Source of Truth -->
|
<!-- Unified Font Loading - Single Source of Truth -->
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user