Front page and banner SPHC tweaks
This commit is contained in:
parent
b108a71ba9
commit
4ebe3ec4d2
3 changed files with 6 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#footer { display: none; }
|
||||
#news, #footer { display: none; }
|
||||
|
||||
.navbar-brand span, .navbar-brand img { display:none; }
|
||||
a.navbar-brand {
|
||||
|
|
Loading…
Reference in a new issue