Front page and banner SPHC tweaks

This commit is contained in:
Oleg Lavrovsky 2018-05-25 16:32:40 +02:00
parent b108a71ba9
commit 4ebe3ec4d2
3 changed files with 6 additions and 1 deletions

View file

@ -3,6 +3,7 @@
<div id="carousel-banner" class="slide">
<div class="carousel-inner slick" role="listbox">
{% for entry in featured %}
{% if entry.feed_image %}
<div class="item">
{% image entry.feed_image original as entry_photo %}
<image style="background-image:url({{ entry_photo.url }})">
@ -13,6 +14,7 @@
</div>
</a>
</div>
{% endif %}
{% empty %}
<i style="background-color:yellow">Please add articles to the front page using the "Featured" option.</i>
{% endfor %}

View file

@ -1,3 +1,6 @@
{% for lang in languages %}
<a{% if lang.code == currentlangcode %} class="active"{% endif %} href="{{ lang.url }}">{{ lang.title }}</a>
{% endfor %}
{% if site_root.slug == "sphc" %}
<a{% if 'en' == currentlangcode %} class="active"{% endif %} href="/en">En</a>
{% endif %}

View file

@ -1,4 +1,4 @@
#footer { display: none; }
#news, #footer { display: none; }
.navbar-brand span, .navbar-brand img { display:none; }
a.navbar-brand {