Skip to content

Commit 4950b66

Browse files
committed
.
1 parent fcd94dc commit 4950b66

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

_data/gallery.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
- name: sample_behavior_track.gif
2+
alt: Example behavior tracking data
3+
14
- name: cortex.jpg
25
alt: Z-stack projection of cortical neurons
36

47
- name: section.jpg
58
alt: Fluorescence image of a Tlx-3 x Ai14 mouse brain section
9+
10+
- name: Idibaps_aereo.png
11+
alt: IDIBAPS building aerial view

_pages/home.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,13 @@ Learning Circuits Laboratory
3232
<div class="carousel slide" data-ride="carousel" style="max-width:600px; max-height:400px; !important;">
3333
<div class="carousel-inner" role="listbox" style="max-width:600px; max-height:400px; !important;">
3434
{% for image in site.data.gallery %}
35-
{% assign ext = image.name | split: '.' | last %}
36-
{% if ext == 'jpg' or ext == 'png' or ext == 'gif' %}
3735
{% if forloop.index == 1 %}
3836
<div class="carousel-item active">
3937
{% else %}
4038
<div class="carousel-item">
4139
{% endif %}
4240
<img class="d-block w-100" src="{{ site.url }}{{ site.baseurl }}/images/carousel/{{ image.name }}" alt="{{ image.alt }}">
4341
</div>
44-
{% endif %}
4542
{% endfor %}
4643
</div>
4744
</div>

0 commit comments

Comments
 (0)