summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmlunar <root@lunar.sh>2026-06-20 16:35:16 +0200
committerdmlunar <root@lunar.sh>2026-06-20 16:35:16 +0200
commit29461c61ebc5104fb939a96f1d24bffa81cf1593 (patch)
tree032eed00623ead8a1c9e3a76d17263dcbef31bc4
parentfa6b64765dbd3633828ec65b7c467c6060cccaa2 (diff)
downloadjournal.lunar.sh-29461c61ebc5104fb939a96f1d24bffa81cf1593.tar.gz
journal.lunar.sh-29461c61ebc5104fb939a96f1d24bffa81cf1593.zip
core: update v2
-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 ">