Commit 0235dea6 authored by Eugen Rochko's avatar Eugen Rochko

Add OpenGraph

parent effb1cf2
Pipeline #25 passed with stages
in 0 seconds
......@@ -3,6 +3,19 @@
<head>
{{ partial "head.html" . }}
<title>{{ .Page.Title }} </title>
<meta property="og:title" content="{{ .Title }}" />
<meta property="og:description" content="{{ .Summary }}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{{ .Permalink }}" />
<meta name="twitter:card" content="summary_large_image" />
{{ if isset .Params "hero" }}
<meta name="twitter:image" content="{{ .Params.hero }}" />
{{ end }}
<meta name="twitter:site" content="@MastodonProject" />
</head>
<body>
{{ partial "header.html" . }}
......
{{/* Common elements for the top of the head tag on all pages. */}}
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel="shortcut icon" type="image/png" href="/favicon.ico"/>
<link rel='stylesheet' href='/style.css'>
<link rel='stylesheet' href='/fontawesome.css'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment