Skip to content

Commit f0e4e76

Browse files
authored
fix: preview logo was too small. (#2277)
## Issue Link / Problem Description <!-- Link to related issue or describe the problem this PR solves --> - linkedin might have ignored below 400x400 image size. ## Changes Made <!-- Describe what you changed and why --> - Changed og:image to a bigger ragas logo
1 parent 1660c9a commit f0e4e76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/extra/overrides/main.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{% if page and page.canonical_url %}<meta property="og:url" content="{{ page.canonical_url }}">{% endif %}
1111
<meta property="og:title" content="{% if page and page.title %}{{ page.title }} - {{ config.site_name }}{% else %}{{ config.site_name }}{% endif %}">
1212
<meta property="og:description" content="{% if page and page.meta and page.meta.description %}{{ page.meta.description }}{% else %}{{ config.site_description }}{% endif %}">
13-
<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 %}">
13+
<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/logo.png{% endif %}">
1414
<meta property="og:image:alt" content="Ragas - Evaluation framework for RAG pipelines">
1515
<meta property="og:site_name" content="{{ config.site_name }}">
1616

@@ -19,7 +19,7 @@
1919
{% if page and page.canonical_url %}<meta property="twitter:url" content="{{ page.canonical_url }}">{% endif %}
2020
<meta property="twitter:title" content="{% if page and page.title %}{{ page.title }} - {{ config.site_name }}{% else %}{{ config.site_name }}{% endif %}">
2121
<meta property="twitter:description" content="{% if page and page.meta and page.meta.description %}{{ page.meta.description }}{% else %}{{ config.site_description }}{% endif %}">
22-
<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 %}">
22+
<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/logo.png{% endif %}">
2323
<meta property="twitter:site" content="@ragas_io">
2424
<meta property="twitter:creator" content="@ragas_io">
2525

0 commit comments

Comments
 (0)