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

+18 -22
View File
@@ -1,33 +1,29 @@
<!-- Footer -->
<footer>
<div class="footer">
<div class="container">
<div class="footer-left">
{% if page.section-type == "index" %}
<a href="#"><h3>Vocaluxe</h3></a>
{% else %}
<a href="{{site.baseurl}}/"><h3>Vocaluxe</h3></a>
{% endif %}
</div>
<ul class="footer-right">
<li>
<a href="https://github.com/Vocaluxe/Vocaluxe">
<footer class="footer">
<div class="container">
<div class="footer-left">
{% if page.section-type == "index" %}
<a href="#"><h3>Vocaluxe</h3></a> {% else %}
<a href="{{site.baseurl}}/"><h3>Vocaluxe</h3></a> {% endif %}
</div>
<ul class="footer-right">
<li>
<a href="https://github.com/Vocaluxe/Vocaluxe">
<i class="fa fa-github" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="https://facebook.com/Vocaluxe">
</li>
<li>
<a href="https://facebook.com/Vocaluxe">
<i class="fa fa-facebook" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="{{site.baseurl}}/feed.xml">
</li>
<li>
<a href="{{site.baseurl}}/feed.xml">
<i class="fa fa-rss" aria-hidden="true"></i>
</a>
</li>
</ul>
</div>
</li>
</ul>
</div>
</footer>
+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>