Fixed docs site's social media preview
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
[book]
|
[book]
|
||||||
title = "The Toy Programming Language"
|
title = "The Toy Programming Language"
|
||||||
authors = ["Kayne Ruse"]
|
authors = ["Kayne Ruse (Ratstail91)"]
|
||||||
|
description = "Documentation For The Toy Programming Language"
|
||||||
language = "en"
|
language = "en"
|
||||||
|
|
||||||
[output.html]
|
[output.html]
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Vendored
+14
@@ -0,0 +1,14 @@
|
|||||||
|
<!-- open graph protocol -->
|
||||||
|
<meta property="og:url" content="{{ url }}" />
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:image" content="{{ base_url }}/img/toypreview.png" />
|
||||||
|
<meta property="og:title" content="{{ title }}" />
|
||||||
|
<meta property="og:description" content="{{ description }}" />
|
||||||
|
|
||||||
|
<!-- twitter has to be special -->
|
||||||
|
<meta name="twitter:card" content="{{ title }}" />
|
||||||
|
<meta name="twitter:url" content="{{ url}}" />
|
||||||
|
<meta name="twitter:type" content="website" />
|
||||||
|
<meta name="twitter:image" content="{{ base_url }}/img/toypreview.png" />
|
||||||
|
<meta name="twitter:title" content="{{ title }}" />
|
||||||
|
<meta name="twitter:description" content="{{ description }}" />
|
||||||
Reference in New Issue
Block a user