diff options
author | Michał Sapka <michal@sapka.me> | 2023-01-10 17:40:39 +0100 |
---|---|---|
committer | Michał Sapka <michal@sapka.me> | 2023-01-10 17:40:39 +0100 |
commit | 0bdd62954aaa6511941aa063a17911a58a9b9641 (patch) | |
tree | 1c41b1492664e8e8a01740756d982a0ec2607d49 /layouts | |
parent | f7123ef0b91ed0bf2c0a0fcec689dc5a66f78718 (diff) |
feat: missing social tags
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ad626b9..fa7552a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -13,6 +13,7 @@ <link rel="icon" type="image/png" sizes="32x32" href="{{ $image.Permalink }}"> {{- $image := resources.Get "/icons/favicon-16x16.png" }} <link rel="icon" type="image/png" sizes="16x16" href="{{ $image.Permalink }}"> + <meta name="description" content="{{ .Page.Summary }}"/> <meta property="og:title" content="{{ .Page.Title }}" /> <meta property="og:type" content="website" /> @@ -20,10 +21,12 @@ {{- $imageUrl := default "logo.png" .Params.image }} {{- $image := resources.Get $imageUrl }} <meta property="og:image" content="{{ $image.Permalink }}" /> + <meta property="og:description" content="{{ .Page.Summary }}" /> <meta name="twitter:title" content="{{ .Page.Title }}"> <meta name="twitter:image" content="{{ $image.Permalink }}"> <meta name="twitter:card" content="summary_large_image"> + <meta name="twitter:description" content="{{ .Page.Summary }}" /> <link rel="canonical" href="{{ .Site.BaseURL }}"> <link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'> |