|
1 | 1 | {% extends "base.html" %} |
2 | 2 |
|
| 3 | +{% block extrahead %} |
| 4 | + {{ super() }} |
| 5 | + <!-- Open Graph / Facebook --> |
| 6 | + <meta property="og:type" content="website"> |
| 7 | + {% if page and page.canonical_url %}<meta property="og:url" content="{{ page.canonical_url }}">{% endif %} |
| 8 | + <meta property="og:title" content="{% if page and page.title %}{{ page.title }} - {{ config.site_name }}{% else %}{{ config.site_name }}{% endif %}"> |
| 9 | + <meta property="og:description" content="{% if page and page.meta and page.meta.description %}{{ page.meta.description }}{% else %}{{ config.site_description }}{% endif %}"> |
| 10 | + <meta property="og:image" content="{% if config.site_url %}{{ config.site_url }}{% endif %}{% if page and page.meta and page.meta.og_image %}{{ page.meta.og_image }}{% else %}_static/imgs/ragas-logo.png{% endif %}"> |
| 11 | + <meta property="og:image:alt" content="Ragas - Evaluation framework for RAG pipelines"> |
| 12 | + <meta property="og:site_name" content="{{ config.site_name }}"> |
| 13 | + |
| 14 | + <!-- Twitter --> |
| 15 | + <meta property="twitter:card" content="summary_large_image"> |
| 16 | + {% if page and page.canonical_url %}<meta property="twitter:url" content="{{ page.canonical_url }}">{% endif %} |
| 17 | + <meta property="twitter:title" content="{% if page and page.title %}{{ page.title }} - {{ config.site_name }}{% else %}{{ config.site_name }}{% endif %}"> |
| 18 | + <meta property="twitter:description" content="{% if page and page.meta and page.meta.description %}{{ page.meta.description }}{% else %}{{ config.site_description }}{% endif %}"> |
| 19 | + <meta property="twitter:image" content="{% if config.site_url %}{{ config.site_url }}{% endif %}{% if page and page.meta and page.meta.og_image %}{{ page.meta.og_image }}{% else %}_static/imgs/ragas-logo.png{% endif %}"> |
| 20 | + <meta property="twitter:site" content="@ragas_io"> |
| 21 | + <meta property="twitter:creator" content="@ragas_io"> |
| 22 | + |
| 23 | + <!-- Additional SEO meta tags --> |
| 24 | + <meta name="description" content="{% if page and page.meta and page.meta.description %}{{ page.meta.description }}{% else %}{{ config.site_description }}{% endif %}"> |
| 25 | + <meta name="keywords" content="{% if page and page.meta and page.meta.keywords %}{{ page.meta.keywords }}{% else %}RAG evaluation, LLM evaluation, retrieval augmented generation, AI evaluation, machine learning metrics{% endif %}"> |
| 26 | + <meta name="author" content="Exploding Gradients"> |
| 27 | + |
| 28 | + <!-- Canonical URL --> |
| 29 | + {% if page and page.canonical_url %} |
| 30 | + <link rel="canonical" href="{{ page.canonical_url }}"> |
| 31 | + {% endif %} |
| 32 | +{% endblock %} |
| 33 | + |
3 | 34 | {% block announce %} |
4 | 35 | <!-- Add announcement here, including arbitrary HTML --> |
5 | 36 | <div class="announce"> |
|
0 commit comments