File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33
33
{%- if site.serve_og_meta %}
34
34
35
35
<!-- OpenGraph -->
36
- < meta property ="og:site_name " content ="{{ site. title }} " />
36
+ < meta property ="og:site_name " content ="{{ title }} " />
37
37
< meta property ="og:type " content ="website " />
38
- < meta property ="og:title " content ="{%- if page.title -%}{{ site. title }} | {{ page.title }}{%- else -%}{{ site. title }}{%- endif -%} " />
38
+ < meta property ="og:title " content ="{%- if page.title -%}{{ title }} | {{ page.title }}{%- else -%}{{ title }}{%- endif -%} " />
39
39
< meta property ="og:url " content ="{{ page.url | prepend: site.baseurl | prepend: site.url | remove_first: 'index.html' }} " />
40
40
< meta property ="og:description " content ="{%- if page.description -%}{{ page.description }}{%- else -%}{{ site.description }}{%- endif -%} " />
41
41
{% if page.og_image or site.og_image -%}
45
45
46
46
<!-- Twitter card -->
47
47
< meta name ="twitter:card " content ="summary " />
48
- < meta name ="twitter:title " content ="{%- if page.title -%}{{ page.title }}{%- else -%}{{ site. title }}{%- endif -%} " />
48
+ < meta name ="twitter:title " content ="{%- if page.title -%}{{ page.title }}{%- else -%}{{ title }}{%- endif -%} " />
49
49
< meta name ="twitter:description " content ="{%- if page.description -%}{{ page.description }}{%- else -%}{{ site.description }}{%- endif -%} " />
50
50
{% if page.og_image or site.og_image -%}
51
51
< meta name ="twitter:image " content ="{%- if page.og_image -%}{{ page.og_image }}{%- else -%}{{ site.og_image }}{%- endif -%} " />
You can’t perform that action at this time.
0 commit comments