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:
parent
041a3c9ea7
commit
1c23a3551b
1
news.md
1
news.md
@ -1,6 +1,7 @@
|
||||
---
|
||||
title: News
|
||||
version: 2023.11.28
|
||||
dontShow: true
|
||||
---
|
||||
|
||||
# Upscayl News! 🎉
|
||||
|
@ -234,6 +234,10 @@ const Home = () => {
|
||||
const markdownData = matter(newsData);
|
||||
if (!markdownData) return;
|
||||
|
||||
if (markdownData && markdownData.data.dontShow) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
markdownData &&
|
||||
news &&
|
||||
|
Loading…
Reference in New Issue
Block a user