File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,13 @@ <h3>News</h3>
4
4
5
5
{% for article in site.data.news limit:9 %}
6
6
{%- if article.img %}
7
+ < div class ="row "> </ div >
7
8
< div class ="col-sm-6 clearfix "> </ div >
8
9
< img src ="{{ site.url }}{{ site.baseurl }}/images/news/{{ article.img }} " class ="img-responsive " width ="22% " style ="float: left " />
9
10
{{ article.date }}< br />
10
11
{{ article.headline}}
11
12
</ div >
13
+ </ div>
12
14
{%- else -%}
13
15
< p >
14
16
{{ article.date }}< br />
Original file line number Diff line number Diff line change @@ -11,10 +11,12 @@ permalink: /allnews.html
11
11
<div class =" well " >
12
12
{% for article in site.data.news %}
13
13
{%- if article.img %}
14
+ <div class =" row " >
14
15
<div class =" col-sm-6 clearfix " >
15
16
<img src =" {{ site.url }}{{ site.baseurl }}/images/news/{{ article.img }} " class =" img-responsive " width =" 22% " style =" float : left " />
16
17
{{ article.date }}<br />
17
18
{{ article.headline}}</div >
19
+ </div >
18
20
{%- else -%}
19
21
<p >{{ article.date }}<br />
20
22
{{ article.headline}}</p >
You can’t perform that action at this time.
0 commit comments