File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 45
45
< link rel ="stylesheet " href ="//fonts.googleapis.com/css?family={{ font }} " />
46
46
{% endfor %}
47
47
{% endif %}
48
- </ head >
48
+
49
+ <!-- Facebook OpenGraph tags -->
50
+ {% if page.meta-title %}
51
+ < meta property ="og:title " content ="{{ page.meta-title }} " />
52
+ {% elsif page.title %}
53
+ < meta property ="og:title " content ="{{ page.title }} " />
54
+ {% else %}
55
+ < meta property ="og:title " content ="{{ site.title }} " />
56
+ {% endif %}
57
+
58
+ < meta property ="og:type " content ="website " />
59
+
60
+ {% if page.id %}
61
+ < meta property ="og:url " content ="{{ site.url }}{{ page.url }}/ " />
62
+ {% else %}
63
+ < meta property ="og:url " content ="{{ site.url }}{{ page.url | remove: '/index.html' | remove: '.html' }} " />
64
+ {% endif %}
65
+
66
+ {% if page.fb-img %}
67
+ < meta property ="og:image " content ="{{ page.fb-img }} " />
68
+ {% else %}
69
+ < meta property ="og:image " content ="{{ site.url }}{{ site.avatar }} " />
70
+ {% endif %}
71
+ </ head >
You can’t perform that action at this time.
0 commit comments