summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html22
1 files changed, 12 insertions, 10 deletions
diff --git a/index.html b/index.html
index 51eeadb..2bc309e 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@ layout: default
<div id="main" role="main" class="index">
<div class="posts">
- {% assign sorted_featured = site.categories.featured | sort: 'date' | reverse %}
+ {% assign sorted_featured = site.posts | where: "categories", "featured" | sort: 'date' | reverse %}
{% for post in sorted_featured %}
<article class="post">
<header>
@@ -18,15 +18,17 @@ layout: default
{% endfor %}
<h1 id="pubs" class="title">Other Publications</h1>
{% for post in paginator.posts %}
- <article class="post">
- <header>
- <span title="format: yyyy-mm-dd">{{ post.date | date: "%Y-%m-%d" }} @ journal.lunar.sh</span>
- <div>
- <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
- </div>
- <div class="excerpt">{{ post.excerpt }}</div>
- </header>
- </article>
+ {% unless post.categories contains 'featured' %}
+ <article class="post">
+ <header>
+ <span title="format: yyyy-mm-dd">{{ post.date | date: "%Y-%m-%d" }} @ journal.lunar.sh</span>
+ <div>
+ <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
+ </div>
+ <div class="excerpt">{{ post.excerpt }}</div>
+ </header>
+ </article>
+ {% endunless %}
{% endfor %}
<div class="pagination">
<span class="page_number ">