1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-30 12:37:50 +00:00

blog&feed: do not show unlisted pages

This commit is contained in:
RGBCube 2025-06-06 23:16:59 +03:00
parent b76219356b
commit 8ece44e462
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ site.use(checkUrls({
site.use(feed({
output: ["/blog.rss", "/blog.json"],
query: "type=article",
query: "type=article unlisted!=true",
sort: "date=asc",
limit: Infinity,

View file

@ -18,7 +18,7 @@ Blog Articles
<style>ul * { overflow-wrap:anywhere !important; }</style>
<ul>
{{ for article of search.pages("type=article", "order=asc date=desc")}}
{{ for article of search.pages("type=article unlisted!=true", "order=asc date=desc")}}
<li class="flex">
<a id="matrix" class="text-right font-mono" style="margin-right:calc(var(--spacing)*2)" href="{{ article.url }}">
{{ article.date.toISOString().slice(2, 10).replaceAll("-", " ") }}