File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 34
34
35
35
</ script >
36
36
37
- < meta name ="twitter:title " content ="{{ page.title }} ">
37
+ < meta name ="twitter:title " content ="{{ page.title | default: site.title }} ">
38
38
39
39
{% if page.is_post %}
40
40
< meta name ="twitter:description " content ="{{ page.excerpt | strip_html | normalize_whitespace }} ">
41
+ < meta property ="og:description " content ="{{ page.excerpt | strip_html | normalize_whitespace }} ">
41
42
{% else %}
42
43
< meta name ="twitter:description " content ="{{ site.description | normalize_whitespace }} ">
44
+ < meta property ="og:description " content ="{{ site.description | normalize_whitespace }} ">
43
45
{% endif %}
44
46
45
47
< meta name ="twitter:site " content ="@nim_lang ">
49
51
< meta property ="og:title " content ="{{ page.title | default: site.title }} " />
50
52
< meta property ="og:site_name " content ="{{ site.title }} " />
51
53
< meta property ="og:type " content ="website " />
54
+ < meta property ="og:url " content ="https://nim-lang.org{{ page.url }} " />
52
55
< meta property ="og:image " content ="https://nim-lang.org/assets/img/twitter_banner.png " />
53
56
< meta property ="og:image:type " content ="image/png " />
54
57
< meta property ="og:image:width " content ="1000 " />
You can’t perform that action at this time.
0 commit comments