1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-12 01:40:53 +01:00

Set default show

This commit is contained in:
Nayam Amarshe 2023-11-26 13:54:03 +05:30
parent 041a3c9ea7
commit 1c23a3551b
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
---
title: News
version: 2023.11.28
dontShow: true
---
# Upscayl News! 🎉

View File

@ -234,6 +234,10 @@ const Home = () => {
const markdownData = matter(newsData);
if (!markdownData) return;
if (markdownData && markdownData.data.dontShow) {
return;
}
if (
markdownData &&
news &&