-
Notifications
You must be signed in to change notification settings - Fork 207
/
Copy pathgallery.html
39 lines (37 loc) · 1.53 KB
/
gallery.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
layout: default
---
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">The Project Gallery</h3>
</div>
<div class="panel-body">
<div class="tardate-gallery">
{% for project in site.data.catalog %}
{% assign project_path = project["relative_path"] %}
{% assign project_name = project_path | split: "/" | last %}
{% assign project_id = project["id"] %}
{% assign leap_id = "LEAP" | append: project_id %}
{% assign project_title = project["name"] %}
{% assign project_description = project["description"] %}
{% assign hero_image_url = project_path | prepend: site.baseurl | append: "/assets/" | append: project_name | append: "_build_thumbnail.jpg" %}
<a href="{{ project_path | prepend: site.baseurl }}"
data-toggle="tooltip" data-placement="bottom" title="{{ leap_id }} {{ project_title }} - {{ project_description }}">
<img class="media-object" src="{{ hero_image_url }}" alt="{{ project_title }}">
</a>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="https://cdn.datatables.net/r/bs-3.3.5/jqc-1.11.3,dt-1.10.8/datatables.min.js"></script>
<script type="text/javascript">
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
</script>