Add dynamic project list, added test project

This commit is contained in:
Tim Stallard 2016-01-07 10:48:36 +00:00
parent 9019b47c01
commit 9e898dfcf2
3 changed files with 14 additions and 7 deletions

View File

@ -1,7 +0,0 @@
---
layout: "contentpage"
title: "Projects"
icon: "wrench"
order: 2
---
Test

View File

@ -0,0 +1,10 @@
---
layout: "contentpage"
title: "Projects"
icon: "wrench"
order: 2
---
<% var projects = getCollection("projects").toJSON() %>
<% projects.forEach(function(project){ %>
<a href="<%- project.url %>"><%= project.title %></a>
<% }) %>

View File

@ -0,0 +1,4 @@
---
title: "Test Project"
---
Test2