Skip to content

Commit ce22671

Browse files
committed
Standardize spacing in Open Graph and Twitter metadata definitions; update og_image to new site image.
1 parent 2bf7288 commit ce22671

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

_includes/preamble.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,40 +16,40 @@
1616
<link rel="shortcut icon" href="/favicon.ico">
1717

1818
{% if page.og_type %}
19-
<meta property="og:type" content="{{page.og_type}}">
19+
<meta property="og:type" content="{{ page.og_type }}">
2020
{% endif %}
2121
{% if page.og_title %}
22-
<meta property="og:title" content="{{page.og_title}}">
22+
<meta property="og:title" content="{{ page.og_title }}">
2323
{% endif %}
2424
{% if page.og_image %}
25-
<meta property="og:image" content="{{page.og_image}}">
25+
<meta property="og:image" content="{{ page.og_image }}">
2626
{% endif %}
2727
{% if page.og_image_type %}
28-
<meta property="og:image:type" content="{{page.og_image_type}}">
28+
<meta property="og:image:type" content="{{ page.og_image_type }}">
2929
{% endif %}
3030
{% if page.og_image_width %}
31-
<meta property="og:image:width" content="{{page.og_imagewidth}}">
31+
<meta property="og:image:width" content="{{ page.og_imagewidth }}">
3232
{% endif %}
3333
{% if page.og_image_height %}
34-
<meta property="og:image:height" content="{{page.og_image_height}}">
34+
<meta property="og:image:height" content="{{ page.og_image_height }}">
3535
{% endif %}
3636
{% if page.og_description %}
37-
<meta property="og:description" content="{{page.og_description}}">
37+
<meta property="og:description" content="{{ page.og_description }}">
3838
{% endif %}
3939
{% if page.og_site_name %}
40-
<meta property="og:site_name" content="{{page.og_site_name}}">
40+
<meta property="og:site_name" content="{{ page.og_site_name }}">
4141
{% endif %}
4242
{% if page.og_type %}
4343
<meta name="twitter:card" content="summary">
4444
{% endif %}
4545
{% if page.og_title %}
46-
<meta name="twitter:title" content="{{page.og_title}}">
46+
<meta name="twitter:title" content="{{ page.og_title }}">
4747
{% endif %}
4848
{% if page.og_description %}
49-
<meta name="twitter:description" content="{{page.og_description}}">
49+
<meta name="twitter:description" content="{{ page.og_description }}">
5050
{% endif %}
5151
{% if page.og_image %}
52-
<meta name="twitter:image" content="{{page.og_image}}">
52+
<meta name="twitter:image" content="{{ page.og_image }}">
5353
{% endif %}
5454

5555
<script src="https://kit.fontawesome.com/18f0b9d11e.js" crossorigin="anonymous"></script>

assets/images/site-image.jpg

142 KB
Loading

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
add_script: /assets/js/welcome.js
55
og_type: website
66
og_title: Moera
7-
og_image: /assets/images/screenshot.jpg
7+
og_image: /assets/images/site-image.jpg
88
og_image_type: image/jpeg
99
og_image_width: 2880
1010
og_image_height: 1694

0 commit comments

Comments
 (0)