Skip to content

Commit 4c34f57

Browse files
committed
fix category errors
1 parent 8fc15f3 commit 4c34f57

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

_layouts/2-column.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ <h1>Portfolio</h1>
1111
<ul>
1212
<li><a href="/portfolio/recent/">Most Recent</a></li>
1313
{% for category in site.categories %}
14-
<li><a href="/portfolio/{{ category[0] | replace:' ', '-' | downcase }}">{{ category[0] }}</a></li>
14+
<li><a href="/portfolio/{{ category[0] | replace:' ', '-' | downcase }}">{{ category[0] | capitalize }}</a></li>
1515
{% endfor %}
1616
<li><a href="/portfolio/">Archives</a></li>
1717
</ul>
1818
</div>
19-
</div>
19+
</div>

portfolio/development/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
layout: 2-column
3-
title: Design
3+
title: Development
44
---
5-
{% for post in site.categories['Development'] limit: 10 %}
5+
{% for post in site.categories.development limit: 10 %}
66
<div class="post">
77
<h2>
88
<a href="{{ post.url }}">{{ post.title }}</a>
@@ -11,4 +11,4 @@ <h2>
1111
{{ post.content | markdownify | html_truncatewords }}
1212
</div>
1313
<hr>
14-
{% endfor %}
14+
{% endfor %}

portfolio/portals/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: 2-column
33
title: Portals
44
---
5-
{% for post in site.categories['Portals'] limit: 10 %}
5+
{% for post in site.categories.portals limit: 10 %}
66
<div class="post">
77
<h2>
88
<a href="{{ post.url }}">{{ post.title }}</a>
@@ -11,4 +11,4 @@ <h2>
1111
{{ post.content | markdownify | html_truncatewords }}
1212
</div>
1313
<hr>
14-
{% endfor %}
14+
{% endfor %}

portfolio/visualizations/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: 2-column
33
title: Visualizations
44
---
5-
{% for post in site.categories['Visualizations'] limit: 10 %}
5+
{% for post in site.categories.visualizations limit: 10 %}
66
<div class="post">
77
<h2>
88
<a href="{{ post.url }}">{{ post.title }}</a>
@@ -11,4 +11,4 @@ <h2>
1111
{{ post.content | markdownify | html_truncatewords }}
1212
</div>
1313
<hr>
14-
{% endfor %}
14+
{% endfor %}

0 commit comments

Comments
 (0)