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 id="carousel-banner" class="slide">
|
||||||
<div class="carousel-inner slick" role="listbox">
|
<div class="carousel-inner slick" role="listbox">
|
||||||
{% for entry in featured %}
|
{% for entry in featured %}
|
||||||
|
{% if entry.feed_image %}
|
||||||
<div class="item">
|
<div class="item">
|
||||||
{% image entry.feed_image original as entry_photo %}
|
{% image entry.feed_image original as entry_photo %}
|
||||||
<image style="background-image:url({{ entry_photo.url }})">
|
<image style="background-image:url({{ entry_photo.url }})">
|
||||||
|
@ -13,6 +14,7 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% empty %}
|
{% empty %}
|
||||||
<i style="background-color:yellow">Please add articles to the front page using the "Featured" option.</i>
|
<i style="background-color:yellow">Please add articles to the front page using the "Featured" option.</i>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
{% for lang in languages %}
|
{% for lang in languages %}
|
||||||
<a{% if lang.code == currentlangcode %} class="active"{% endif %} href="{{ lang.url }}">{{ lang.title }}</a>
|
<a{% if lang.code == currentlangcode %} class="active"{% endif %} href="{{ lang.url }}">{{ lang.title }}</a>
|
||||||
{% endfor %}
|
{% 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; }
|
.navbar-brand span, .navbar-brand img { display:none; }
|
||||||
a.navbar-brand {
|
a.navbar-brand {
|
||||||
|
|
Loading…
Add table
Reference in a new issue