diff options
-rw-r--r-- | projects/index.html | 8 | ||||
-rw-r--r-- | writing/index.html | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/projects/index.html b/projects/index.html index ce0ce1c..736558d 100644 --- a/projects/index.html +++ b/projects/index.html @@ -5,6 +5,10 @@ description: Projects I’ve done. --- {% for post in site.posts %} - <h1><a href="{{ post.url }}">{{ post.title }}</a></h1> - <p>{{ post.description }}</p> + {% if post.type == "project" %} + <div class="project"> + <h1><a href="{{ post.url }}">{{ post.title }}</a></h1> + <p>{{ post.description }}</p> + </div> + {% endif %} {% endfor %} diff --git a/writing/index.html b/writing/index.html index ec58a49..43de7f5 100644 --- a/writing/index.html +++ b/writing/index.html @@ -5,6 +5,10 @@ description: A small collection of writing I’ve done on various topics over th --- {% for post in site.posts %} - <h1><a href="{{ post.url }}">{{ post.title }}</a></h1> - <p>{{ post.description }}</p> + {% if post.type == "writing" %} + <div class="writing"> + <h1><a href="{{ post.url }}">{{ post.title }}</a></h1> + <p>{{ post.description }}</p> + </div> + {% endif %} {% endfor %} |