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 3434
3535 </ script >
3636
37- < meta name ="twitter:title " content ="{{ page.title }} ">
37+ < meta name ="twitter:title " content ="{{ page.title | default: site.title }} ">
3838
3939 {% if page.is_post %}
4040 < meta name ="twitter:description " content ="{{ page.excerpt | strip_html | normalize_whitespace }} ">
41+ < meta property ="og:description " content ="{{ page.excerpt | strip_html | normalize_whitespace }} ">
4142 {% else %}
4243 < meta name ="twitter:description " content ="{{ site.description | normalize_whitespace }} ">
44+ < meta property ="og:description " content ="{{ site.description | normalize_whitespace }} ">
4345 {% endif %}
4446
4547 < meta name ="twitter:site " content ="@nim_lang ">
4951 < meta property ="og:title " content ="{{ page.title | default: site.title }} " />
5052 < meta property ="og:site_name " content ="{{ site.title }} " />
5153 < meta property ="og:type " content ="website " />
54+ < meta property ="og:url " content ="https://nim-lang.org{{ page.url }} " />
5255 < meta property ="og:image " content ="https://nim-lang.org/assets/img/twitter_banner.png " />
5356 < meta property ="og:image:type " content ="image/png " />
5457 < meta property ="og:image:width " content ="1000 " />
You can’t perform that action at this time.
0 commit comments