File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 16
16
< meta property ="og:title " content ="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} ">
17
17
{% if page.excerpt %}< meta property ="og:description " content ="{{ page.excerpt | strip_html }} "> {% endif %}
18
18
< meta property ="og:url " content ="{{ page.url | replace:'index.html','' | prepend: site.url }} ">
19
- < meta property ="og:site_name " content ="{{ site.title }} ">
19
+ < meta property ="og:site_name " content ="{{ site.title }} ">
20
+ {% if page.image.feature %}
21
+ < meta property ="og:image " content ="{{ site.url }}/images/{{ page.image.feature }} ">
22
+ {% else %}
23
+ < meta property ="og:image " content ="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/default-thumb.png{% endif %} ">
24
+ {% endif %}
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ <h1><a href="{{ site.url }}{{ page.url }}" rel="bookmark" title="{{ page.title }
55
55
</ div > <!-- /#main -->
56
56
57
57
< div class ="footer-wrap ">
58
+ {% if site.related_posts.size > 0 %}
58
59
< div class ="related-articles ">
59
60
< h4 > You might also enjoy < small class ="pull-right "> (< a href ="{{ site.url }}/posts/ "> View all posts</ a > )</ small > </ h4 >
60
61
< ul >
@@ -64,6 +65,7 @@ <h4>You might also enjoy <small class="pull-right">(<a href="{{ site.url }}/post
64
65
</ ul >
65
66
< hr />
66
67
</ div > <!-- /.related-articles -->
68
+ {% endif %}
67
69
< footer >
68
70
{% include _footer.html %}
69
71
</ footer >
You can’t perform that action at this time.
0 commit comments