Skip to content

Commit

Permalink
[Docs] - Added social media metadata + social image.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-carroll committed May 31, 2024
1 parent fd0340f commit 9ebe67c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/website/source/_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package:
name: golden_bricks
title: Golden Bricks
description: A better font for golden tests
homepage_url: https://flutter-bounty-hunters.github.io/golden_bricks/
type: flutter
is_on_pub: true
github:
Expand Down
14 changes: 14 additions & 0 deletions doc/website/source/_includes/layouts/homepage.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@
<meta name="theme-color" content="#ffffff">
{% endif %}

<!-- Open Graph Social Media -->
<meta property="og:url" content="{{ homepage_url }}" />
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ description }}" />
<meta property="og:image" content="images/branding/social.png" />

<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@FlutterBounties" />
<meta name="twitter:url" content="{{ homepage_url }}" />
<meta name="twitter:title" content="{{ title }}" />
<meta name="twitter:description" content="{{ description }}" />
<meta name="twitter:image" content="images/branding/social.png" />

<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>

Expand Down
Binary file added doc/website/source/images/branding/social.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9ebe67c

Please sign in to comment.