File tree Expand file tree Collapse file tree 4 files changed +8
-11
lines changed Expand file tree Collapse file tree 4 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 1
1
< li >
2
2
< p > < b > {{project.name}}</ b > </ p >
3
3
< p > < i > {{project.description}}</ i > </ p >
4
- < p > < a href ="/projects/ {{project.tag}}.html "> More info</ a > </ p >
4
+ < p > < a href ="{{project.url}} "> More info</ a > </ p >
5
5
</ li >
Original file line number Diff line number Diff line change 5
5
< div class ="post ">
6
6
< div class ="main ">
7
7
8
- {% assign project = site.data.projects[page.project] %}
9
-
10
8
< header class ="post-header ">
11
- < h1 > {{project .name}}</ h1 >
9
+ < h1 > {{page .name}}</ h1 >
12
10
</ header >
13
11
14
12
< article class ="post-content ">
15
13
16
14
< h3 > About</ h3 >
17
15
18
16
< ul >
19
- < li > Project Home: < a href ="{{project .github}} "> {{project .github}}</ a > </ li >
20
- {% if project .link %}
21
- < li > Documentation: < a href ="{{project .link}} "> {{project .link}}</ a > </ li >
17
+ < li > Project Home: < a href ="{{page .github}} "> {{page .github}}</ a > </ li >
18
+ {% if page .link %}
19
+ < li > Documentation: < a href ="{{page .link}} "> {{page .link}}</ a > </ li >
22
20
{% endif %}
23
21
</ ul >
24
22
Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ a list of all projects then you can find them
13
13
you there then by all means bring it back from the dead!)
14
14
15
15
<ul class =" posts " >
16
- {% for project_hash in site.data.projects %}
17
- {% assign project = project_hash[ 1] %}
16
+ {% for project in site.projects %}
18
17
{% if project.active %}
19
18
{% include project_link.html %}
20
19
{% endif %}
Original file line number Diff line number Diff line change 1
1
---
2
2
title : Projects
3
3
layout : page
4
+ permalink : " /projects/"
4
5
---
5
6
6
7
<ul class =" posts " >
7
- {% for project_hash in site.data.projects %}
8
- {% assign project = project_hash[1] %}
8
+ {% for project in site.projects %}
9
9
{% include project_link.html %}
10
10
{% endfor %}
11
11
</ul >
You can’t perform that action at this time.
0 commit comments