Skip to content

Commit

Permalink
Add Open Graph metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
waacton committed Jun 21, 2024
1 parent bdf2705 commit aa682c8
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Example.Web/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
<base href="/" /> <!-- needs to be /colour-picker/ when deployed -->
<link rel="stylesheet" href="css/app.css" />
<link rel="icon" type="image/png" href="favicon.png" />

<meta property="og:title" content="Unicolour Picker">
<meta property="og:type" content="website" />
<meta property="og:image" content="https://repository-images.githubusercontent.com/451181558/3373029a-fa50-4546-8942-0c02cbd3e89a">
<meta property="og:url" content="https://unicolour.wacton.xyz/colour-picker/">
<meta property="og:description" content="A colour picker for any colour space, made with Wacton.Unicolour 🌈">
<meta property="og:site_name" content="Unicolour Picker">
<meta name="twitter:card" content="summary_large_image">
</head>

<body>
Expand Down
8 changes: 8 additions & 0 deletions Unicolour.Readme/docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="3n52EXMNTRK0pZwY_5D9vM1ulcGpPs04tE1IYmC-Leo" />

<meta property="og:title" content="Wacton.Unicolour">
<meta property="og:type" content="website" />
<meta property="og:image" content="https://repository-images.githubusercontent.com/451181558/3373029a-fa50-4546-8942-0c02cbd3e89a">
<meta property="og:url" content="https://unicolour.wacton.xyz/">
<meta property="og:description" content="🌈 Colour / Color conversion, interpolation, and comparison for .NET">
<meta property="og:site_name" content="Wacton.Unicolour">
<meta name="twitter:card" content="summary_large_image">

{% seo %}
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
Expand Down
8 changes: 8 additions & 0 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="3n52EXMNTRK0pZwY_5D9vM1ulcGpPs04tE1IYmC-Leo" />

<meta property="og:title" content="Wacton.Unicolour">
<meta property="og:type" content="website" />
<meta property="og:image" content="https://repository-images.githubusercontent.com/451181558/3373029a-fa50-4546-8942-0c02cbd3e89a">
<meta property="og:url" content="https://unicolour.wacton.xyz/">
<meta property="og:description" content="🌈 Colour / Color conversion, interpolation, and comparison for .NET">
<meta property="og:site_name" content="Wacton.Unicolour">
<meta name="twitter:card" content="summary_large_image">

{% seo %}
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
Expand Down
8 changes: 8 additions & 0 deletions docs/colour-picker/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
<base href="/colour-picker/" /> <!-- needs to be /colour-picker/ when deployed -->
<link rel="stylesheet" href="css/app.css" />
<link rel="icon" type="image/png" href="favicon.png" />

<meta property="og:title" content="Unicolour Picker">
<meta property="og:type" content="website" />
<meta property="og:image" content="https://repository-images.githubusercontent.com/451181558/3373029a-fa50-4546-8942-0c02cbd3e89a">
<meta property="og:url" content="https://unicolour.wacton.xyz/colour-picker/">
<meta property="og:description" content="A colour picker for any colour space, made with Wacton.Unicolour 🌈">
<meta property="og:site_name" content="Unicolour Picker">
<meta name="twitter:card" content="summary_large_image">
</head>

<body>
Expand Down

0 comments on commit aa682c8

Please sign in to comment.