Add open graph image and tags
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
nemunaire 2024-01-11 16:08:47 +01:00
parent 3ba2c8522f
commit 659f6bee20
3 changed files with 18 additions and 0 deletions

View File

@ -35,6 +35,8 @@ languages:
weight: 30
params:
DefaultDescription: "L'interface des noms de domaines."
others_links:
- text: "S'inscrire"
href: "/join"
@ -75,6 +77,7 @@ languages:
image: "/img/screenshots/sources.png"
params:
DefaultDescription: "Finally a simple interface for domain names."
newsletter: "newsletter@happydns.org"
tryit: "https://try.happydomain.org/"

View File

@ -19,6 +19,21 @@
<meta name="description" content="{{ .Site.Params.DefaultDescription }}">
{{ end }}
<!-- Facebook Meta Tags -->
<meta property="og:url" content="{{ .Site.BaseURL }}">
<meta property="og:type" content="website">
<meta property="og:title" content="happyDomain">
<meta property="og:description" content="{{ .Site.Params.DefaultDescription }}">
<meta property="og:image" content="{{ .Site.BaseURL }}img/og.webp">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="happydomain.org">
<meta property="twitter:url" content="{{ .Site.BaseURL }}">
<meta name="twitter:title" content="happyDomain">
<meta name="twitter:description" content="{{ .Site.Params.DefaultDescription }}">
<meta name="twitter:image" content="{{ .Site.BaseURL }}img/og.webp">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/icons/bootstrap-icons.css">

BIN
static/img/og.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB