summaryrefslogtreecommitdiffstats
path: root/projects.html
diff options
context:
space:
mode:
Diffstat (limited to 'projects.html')
-rw-r--r--projects.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/projects.html b/projects.html
new file mode 100644
index 0000000..5f06646
--- /dev/null
+++ b/projects.html
@@ -0,0 +1,20 @@
+---
+layout: default
+title: Projects
+---
+
+<table>
+ {% assign rows = site.projects.size | divided_by: 2.0 | ceil %}
+ {% for i in (1..rows) %}
+ <tr>
+ {% assign offset = forloop.index0 | times: 2 %}
+ {% for item in site.projects limit:2 offset:offset %}
+ <td class="project-item">
+ {% assign parts = item.url | split: '/' %}
+ <img src="{{ parts[2] }}/{{ item.thumbnail }}" alt="{{ item.title }}">
+ <h5><a href="{{ parts[2] }}">{{ item.title }}</a></h5>
+ </td>
+ {% endfor %}
+ </tr>
+ {% endfor %}
+</table>