fixed twitter image tag (#763)

This commit is contained in:
Ali Abdalla 2022-03-02 17:19:12 +04:00 committed by GitHub
parent 10db71fd1c
commit 8e635c082a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
<meta name="twitter:creator" content="@teamGradio">
<meta name="twitter:title" content="Gradio Guides">
<meta name="twitter:description" content="How to use Gradio">
<meta name="twitter:image" content="/assets/img/guides/guides-meta.png">
<meta name="twitter:image" content="https://gradio.app/assets/img/guides/guides-meta.png">
<link rel="icon" type="image/png" href="/assets/img/logo.png">
<link href="/gradio_static/static/bundle.css" rel="stylesheet">

View File

@ -10,7 +10,7 @@
<meta property="og:url" content="{{ url }}" />
<meta property="og:image" content="/assets/img/guides/{{ guide_name }}.png" />
<meta name="twitter:title" content="{{ title }}">
<meta name="twitter:image" content="/assets/img/guides/{{ guide_name }}.png">
<meta name="twitter:image" content="https://gradio.app/assets/img/guides/{{ guide_name }}.png">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" type="image/png" href="/assets/img/logo.png">
<link href="/gradio_static/assets/{{ index_css_file }}" rel="stylesheet">