Skip to content

Commit d4c1a5c

Browse files
committed
Updated links
1 parent 05a9a2b commit d4c1a5c

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

_includes/project_link.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<li>
22
<p><b>{{project.name}}</b></p>
33
<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>
55
</li>

_layouts/project.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,18 @@
55
<div class="post">
66
<div class="main">
77

8-
{% assign project = site.data.projects[page.project] %}
9-
108
<header class="post-header">
11-
<h1>{{project.name}}</h1>
9+
<h1>{{page.name}}</h1>
1210
</header>
1311

1412
<article class="post-content">
1513

1614
<h3>About</h3>
1715

1816
<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>
2220
{% endif %}
2321
</ul>
2422

getinvolved.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ a list of all projects then you can find them
1313
you there then by all means bring it back from the dead!)
1414

1515
<ul class="posts">
16-
{% for project_hash in site.data.projects %}
17-
{% assign project = project_hash[1] %}
16+
{% for project in site.projects %}
1817
{% if project.active %}
1918
{% include project_link.html %}
2019
{% endif %}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Projects
33
layout: page
4+
permalink: "/projects/"
45
---
56

67
<ul class="posts">
7-
{% for project_hash in site.data.projects %}
8-
{% assign project = project_hash[1] %}
8+
{% for project in site.projects %}
99
{% include project_link.html %}
1010
{% endfor %}
1111
</ul>

0 commit comments

Comments
 (0)