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:
parent
b76219356b
commit
8ece44e462
2 changed files with 2 additions and 2 deletions
2
site.ts
2
site.ts
|
@ -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,
|
||||
|
||||
|
|
|
@ -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("-", " ") }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue