Fix #10: add og tags internal template

This commit is contained in:
Dmitry Kolosov 2020-01-23 23:29:36 +03:00
parent a6c28e1b8d
commit 1fff635426
2 changed files with 3 additions and 11 deletions

View File

@ -44,6 +44,8 @@ menu:
params:
description: ""
images:
- images/og-featured.png
```
### Check your site

View File

@ -14,17 +14,7 @@
<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" />
<!-- OG Tags: -->
<meta property="og:site_name" content="{{ .Site.Title }}">
<!-- <meta property="og:type" content="article"> -->
<meta property="og:title" content="{{ .Title }}">
<!-- <meta property="og:description" content=""> -->
<!-- <meta property="og:url" content=""> -->
<!-- <meta property="og:image" content=""> -->
<!-- <meta property="og:image:width" content=""> -->
<!-- <meta property="og:image:height" content=""> -->
{{ template "_internal/opengraph.html" . }}
<!-- Article tags -->
<!-- <meta property="article:published_time" content="">