diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-09 21:24:31 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-09 21:24:31 +0100 |
| commit | b637ff02f660b109d419d99df64c81940f7a8290 (patch) | |
| tree | b2bad3e918b1de186d6169ac9b2d299717e44eb2 /templates/page/opengraph.gohtml | |
| parent | f4da86b98e43eb411c16ec85c21171e81b6b33aa (diff) | |
feat(http): init golatt
Diffstat (limited to 'templates/page/opengraph.gohtml')
| -rw-r--r-- | templates/page/opengraph.gohtml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/page/opengraph.gohtml b/templates/page/opengraph.gohtml new file mode 100644 index 0000000..f51d561 --- /dev/null +++ b/templates/page/opengraph.gohtml @@ -0,0 +1,18 @@ +{{define "opengraph-base"}} + <meta property="description" content="{{.Description}}" /> + <!-- Open Graph --> + <meta property="og:title" content="{{.Title}}" /> + <meta property="og:type" content="website" /> + <meta property="og:url" content="https://{{.Domain}}{{.URL}}" /> + <meta property="og:image" content="https://{{.Domain}}{{.Image}}" /> + <meta property="og:description" content="{{.Description}}" /> + <meta property="og:local" content="fr_FR" /> + <meta property="og:site_name" content="Architects Land" /> + <!-- Twitter --> + <meta name="twitter:card" content="summary_large_image" /> + <meta property="twitter:domain" content="{{.Domain}}" /> + <meta property="twitter:url" content="https://{{.Domain}}{{.URL}}/" /> + <meta name="twitter:title" content="{{.Title}}" /> + <meta name="twitter:description" content="{{.Description}}" /> + <meta name="twitter:image" content="https://{{.Domain}}{{.Image}}" /> +{{end}} |
