File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,25 @@ permalink: /allnews.html
8
8
9
9
# News
10
10
11
+ <div class =" well " >
12
+ {% for article in site.data.news %}
13
+ <div class =" row " >
14
+ {%- if article.img %}
15
+ <div class =" col-sm-6 clearfix " >
16
+ <img src =" {{ site.url }}{{ site.baseurl }}/images/news/{{ article.img }} " class =" img-responsive " width =" 22% " style =" float : left ; margin-right : 10px ;" />
17
+ <p >{{ article.date }}<br />
18
+ {{ article.headline }}</p >
19
+ </div >
20
+ {%- else -%}
21
+ <div class =" col-sm-6 " >
22
+ <p >{{ article.date }}<br />
23
+ {{ article.headline }}</p >
24
+ </div >
25
+ {%- endif %}
26
+ </div >
27
+ {% endfor %}
28
+ </div >
29
+ <!--
11
30
<div class="well">
12
31
{% for article in site.data.news %}
13
32
{%- if article.img %}
@@ -23,3 +42,4 @@ permalink: /allnews.html
23
42
{%- endif %}
24
43
{% endfor %}
25
44
</div>
45
+ -->
You can’t perform that action at this time.
0 commit comments