1+ {%- assign currentPost = include.post -%}
2+ {%- assign buttonText = "Continue reading..." -%}
3+ {%- if include.buttonText -%}
4+ {%- assign buttonText = include.buttonText -%}
5+ {%- endif -%}
6+ < div class ="post-preview ">
7+ < a href ="{{ currentPost.url }} " class ="post-title-a ">
8+ < h2 class ="post-title "> {{ currentPost.title }}</ h2 >
9+ {% if currentPost.subtitle %}
10+ < h3 class ="post-subtitle "> {{ currentPost.subtitle }}</ h3 >
11+ {% endif %}
12+ </ a >
13+ < div class ="post-meta ">
14+ Posted by {% if currentPost.author %}{{ currentPost.author }}{% else %}{{ site.title }}{% endif %} on {{ currentPost.date | date: "%B %-d, %Y" }}
15+ {% comment %}< a href ="{{ site.baseurl }}/{{ currentPost.url }} " data-disqus-identifier ="{{ currentPost.url }} "> </ a > {% endcomment %} {% for
16+ lang in site.data.languages %} {% assign language = lang[1] %} {% if language.shortName == currentPost.lang %}
17+ < aside class ="languages ">
18+ < strong > Language: </ strong >
19+ < a href ="/languages/#{{ language.categoryName | slugify }} "> {{ language.displayName }}</ a >
20+ </ aside >
21+ {% endif %} {% endfor %} {% if currentPost.proficiency-level %}
22+ < aside class ="proficiency-level ">
23+ < strong > Target proficiency level:</ strong >
24+
25+ {% assign level = site.data.proficiency-levels[currentPost.proficiency-level] %}
26+ < a href ="/levels/#proficiency-level-{{ currentPost.proficiency-level | slugify }} " title ="{{ level.description }} "
27+ > {{ level.name }}</ a
28+ >
29+ < small > ({{ level.short-description }})</ small >
30+ </ aside >
31+ {% endif %} {% if currentPost.tags[0] %}
32+ < aside class ="tags ">
33+ < i class ="glyphicon glyphicon-tags "> </ i >
34+ {% for tag in currentPost.tags %}
35+ < a href ="/tags/#{{ tag | slugify }} " title ='View posts tagged with "{{ tag }}" '> < u > {{ tag }}</ u > </ a
36+ > {% if forloop.last != true %}, {% endif %} {% endfor %}
37+ </ aside >
38+ {% endif %}
39+ </ div >
40+
41+ {% if currentPost.post-img %}
42+ < p > < img src ="{{ site.baseurl }}/{{ currentPost.post-img }} " alt ="{{ currentPost.title }} " /> </ p >
43+ {% endif %} {%- include technology-relative-level-list.html technology-relative-level=currentPost.technology-relative-level -%}
44+
45+ < p > {{ currentPost.excerpt }}</ p >
46+ < div class ="post-readmore ">
47+ < a
48+ href ="{{ currentPost.url }} "
49+ title =""
50+ data-toggle ="tooltip "
51+ data-placement ="top "
52+ data-original-title ="{{ currentPost.title }}{% if currentPost.subtitle %} | {{currentPost.subtitle}}{% endif %} "
53+ > {{ buttonText }}</ a
54+ >
55+ </ div >
56+ </ div >
0 commit comments