We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2b95fb commit 1f91ee4Copy full SHA for 1f91ee4
_pages/allnews.md
@@ -11,18 +11,10 @@ permalink: /allnews.html
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
27
{% endfor %}
28
0 commit comments