File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ <h3><a href="{{ site.url}}/articles/">Recent Posts</a></h3>
39
39
{% for post in site.posts limit:5 %}
40
40
< article >
41
41
{% if post.link %}
42
- < h2 > < a href ="{{ site.url }}{{ post.url }} " title ="{{ post.title }} "> {{ post.title }}</ a > < a href ="{{ post.link }} " target ="_blank " title ="{{ post.title }} "> < i class ="icon-link "> </ i > </ h2 >
42
+ < h2 class =" link-post " > < a href ="{{ site.url }}{{ post.url }} " title ="{{ post.title }} "> {{ post.title }}</ a > < a href ="{{ post.link }} " target ="_blank " title ="{{ post.title }} "> < i class ="icon-link "> </ i > </ h2 >
43
43
{% else %}
44
44
< h2 > < a href ="{{ site.url }}{{ post.url }} " title ="{{ post.title }} "> {{ post.title }}</ a > </ h2 >
45
45
< p > {% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</ p >
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ <h3>{{ post.date | date: '%Y' }}</h3>
48
48
{% endunless %}
49
49
< article >
50
50
{% if post.link %}
51
- < h2 > < a href ="{{ site.url }}{{ post.url }} " title ="{{ post.title }} "> {{ post.title }}</ a > < a href ="{{ post.link }} " target ="_blank " title ="{{ post.title }} "> < i class ="icon-link "> </ i > </ h2 >
51
+ < h2 class =" link-post " > < a href ="{{ site.url }}{{ post.url }} " title ="{{ post.title }} "> {{ post.title }}</ a > < a href ="{{ post.link }} " target ="_blank " title ="{{ post.title }} "> < i class ="icon-link "> </ i > </ h2 >
52
52
{% else %}
53
53
< h2 > < a href ="{{ site.url }}{{ post.url }} " title ="{{ post.title }} "> {{ post.title }}</ a > </ h2 >
54
54
< p > {% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</ p >
Original file line number Diff line number Diff line change @@ -247,6 +247,10 @@ body {
247
247
h2 {
248
248
margin-bottom : 4px ;
249
249
.font-rem (20 );
250
+ & .link-post {
251
+ margin-bottom : 0px + @doc-line-height ;
252
+ margin-bottom : 0rem + (@doc-line-height / @doc-font-size );
253
+ }
250
254
}
251
255
p {
252
256
.font-rem (14 );
You can’t perform that action at this time.
0 commit comments