mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-27 17:00:52 +01:00
Set default show
This commit is contained in:
parent
041a3c9ea7
commit
1c23a3551b
1
news.md
1
news.md
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: News
|
title: News
|
||||||
version: 2023.11.28
|
version: 2023.11.28
|
||||||
|
dontShow: true
|
||||||
---
|
---
|
||||||
|
|
||||||
# Upscayl News! 🎉
|
# Upscayl News! 🎉
|
||||||
|
@ -234,6 +234,10 @@ const Home = () => {
|
|||||||
const markdownData = matter(newsData);
|
const markdownData = matter(newsData);
|
||||||
if (!markdownData) return;
|
if (!markdownData) return;
|
||||||
|
|
||||||
|
if (markdownData && markdownData.data.dontShow) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
markdownData &&
|
markdownData &&
|
||||||
news &&
|
news &&
|
||||||
|
Loading…
Reference in New Issue
Block a user