Add dynamic project list, added test project
This commit is contained in:
1 parent
9019b47c01
commit
9e898dfcf2
3 files changed
+14
-7
No files matched your search
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
layout: "contentpage"
|
|
||||||
title: "Projects"
|
|
||||||
icon: "wrench"
|
|
||||||
order: 2
|
|
||||||
---
|
|
||||||
Test
|
|
||||||
@@ -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>
|
||||||
|
<% }) %>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
title: "Test Project"
|
||||||
|
---
|
||||||
|
Test2
|
||||||
Reference in new issue
Block a user