@@ -17,54 +17,54 @@ <h1>{{page.title}}</h1>
1717 </ div >
1818
1919 < div class ="label-card ">
20- {% if page.meta %}< i class ="fa fa-key "> </ i > {{ page.meta }} {% endif %}
20+ {% if page.meta %}< i class ="fa fa-key "> </ i > {{ page.meta }} {% endif %}
2121 </ div >
2222
2323 < div class ="label-card ">
24- {% include category.html %}
24+ {% include category.html %}
2525 </ div >
2626
2727 < div class ="label-card ">
28- {% include tag.html %}
28+ {% include tag.html %}
2929 </ div >
3030
3131 </ div >
3232 < hr >
3333 < article itemscope itemtype ="http://schema.org/BlogPosting ">
34- {{content}}
34+ {{content}}
3535 </ article >
36-
36+
3737 < hr >
38-
38+
3939 {% assign hasSimilar = '' %}
4040 {% for post in site.related_posts %}
41- {% assign postHasSimilar = false %}
42- {% for tag in post.tags %}
43- {% for thisTag in page.tags %}
44- {% if postHasSimilar == false and hasSimilar.size < 6 and post ! = page and tag == thisTag %}
45- {% if hasSimilar.size == 0 %}
46- < h2 id ="similar_posts "> Similar Posts</ h2 >
47- < ul >
48- {% endif %}
49- < li class ="relatedPost ">
50- < a href ="{{ site.baseurl }}{{ post.url }} "> {{ post.title }}
51- {% if post.series %}
52- (Series: {{ post.series }})
53- {% endif %}
54- </ a >
55- </ li >
56- {% capture hasSimilar %}{{ hasSimilar }}*{% endcapture %}
57- {% assign postHasSimilar = true %}
41+ {% assign postHasSimilar = false %}
42+ {% for tag in post.tags %}
43+ {% for thisTag in page.tags %}
44+ {% if postHasSimilar == false and hasSimilar.size < 6 and post ! = page and tag == thisTag %}
45+ {% if hasSimilar.size == 0 %}
46+ < h2 id ="similar_posts "> Similar Posts</ h2 >
47+ < ul >
48+ {% endif %}
49+ < li class ="relatedPost ">
50+ < a href ="{{ site.baseurl }}{{ post.url }} "> {{ post.title }}
51+ {% if post.series %}
52+ (Series: {{ post.series }})
5853 {% endif %}
59- {% endfor %}
54+ </ a >
55+ </ li >
56+ {% capture hasSimilar %}{{ hasSimilar }}*{% endcapture %}
57+ {% assign postHasSimilar = true %}
58+ {% endif %}
59+ {% endfor %}
6060 {% endfor %}
61- {% endfor %}
62- {% if hasSimilar.size > 0 %}
63- </ ul >
61+ {% endfor %}
62+ {% if hasSimilar.size > 0 %}
63+ </ ul >
6464 {% endif %}
6565
6666 {% include previousAndNext.html %}
67-
67+
6868 < h2 id ="comments " style ="margin:75px 0 25px "> Comments</ h2 >
6969 {% include comments.html %}
7070
@@ -99,5 +99,6 @@ <h2 id="comments" style="margin:75px 0 25px">Comments</h2>
9999 aTags [ i ] . setAttribute ( 'target' , '_blank' )
100100 }
101101} ( ) ) ;
102+
102103</ script >
103104< script src ="{{ "/js/pageContent.js " | prepend: site.baseurl }}" charset="utf-8"> </ script >
0 commit comments