Small fixes and improvements

- fixed footer not staying at bottom
- fixed some bugs with news section
This commit is contained in:
Hendrik Blöß committed 2017-07-14 15:49:07 +02:00
1 parent 5969ffab71
commit ce225e401b
4 files changed
+68 -45

No files matched your search

+10 -8
View File
@@ -10,14 +10,16 @@
<h1 class="title">{{ page.title }}</h1>
{% if post_1 != nil %}
<div class="col-md-8 news-card">
<img src="{{site.baseurl}}/img/posts/{{ post_1.image }}" class="img-responsive" />
<div class="news-card-text dark-bg">
<div class="post-info red-text">
<i class="fa fa-calendar" aria-hidden="true"></i>
{{ post_1.date | date_to_long_string }}
<div class="col-md-8">
<div class="col-lg-12 news-card">
<img src="{{site.baseurl}}/img/posts/{{ post_1.image }}" class="img-responsive" />
<div class="news-card-text dark-bg">
<div class="post-info red-text">
<i class="fa fa-calendar" aria-hidden="true"></i>
{{ post_1.date | date_to_long_string }}
</div>
<h2><a href="{{site.baseurl}}{{ post_1.url }}">{{post_1.title}} </a></h2>
</div>
<h2><a href="{{site.baseurl}}{{ post_1.url }}">{{post_1.title}} </a></h2>
</div>
</div>
{% endif %}
@@ -36,7 +38,7 @@
{% endif %}
{% if post_3 != nil %}
<div class="col-lg-12 news-card">
<img src="{{site.baseurl}}/img/posts/{{ post_2.image }}" class="img-responsive" />
<img src="{{site.baseurl}}/img/posts/{{ post_3.image }}" class="img-responsive" />
<div class="news-card-text dark-bg">
<div class="post-info red-text">
<i class="fa fa-calendar" aria-hidden="true"></i>