mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-13 07:46:08 +00:00
Add notice for whole website
This commit is contained in:
parent
e6acd494af
commit
92d11a5ac2
@ -172,6 +172,34 @@ export default hopeTheme({
|
|||||||
},
|
},
|
||||||
|
|
||||||
plugins: {
|
plugins: {
|
||||||
|
notice: [
|
||||||
|
{
|
||||||
|
path: "/de/", // show on all pages (you can add more entries per path/locale)
|
||||||
|
title: "Crowdfunding 🪄✨",
|
||||||
|
content: "Lass uns angepinnte Beiträge in Gruppen haben. Mach mit bei unserem ersten Crowdfunding!",
|
||||||
|
actions: [
|
||||||
|
{ text: "Mehr lesen", link: "/de/news/2025-09-29-crowdfunding-feature-pinned-posts-in-groups/", type: "primary" },
|
||||||
|
{ text: "Nein danke" }
|
||||||
|
],
|
||||||
|
showOnce: true, // don’t re-show after it’s closed
|
||||||
|
noticeKey: "crowdfunding-pinned-post-in-group"// bump this when you edit the message
|
||||||
|
// fullscreen: true, // optional: turn it into a modal
|
||||||
|
// confirm: true // optional: force clicking an action to close
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/en/", // show on all pages (you can add more entries per path/locale)
|
||||||
|
title: "Crowdfunding 🪄✨",
|
||||||
|
content: "Let's have pinned posts in groups. Join our first crowdfunding!",
|
||||||
|
actions: [
|
||||||
|
{ text: "Read more", link: "/en/news/2025-09-29-crowdfunding-feature-pinned-posts-in-groups/", type: "primary" },
|
||||||
|
{ text: "No, thanks" }
|
||||||
|
],
|
||||||
|
showOnce: true, // don’t re-show after it’s closed
|
||||||
|
noticeKey: "crowdfunding-pinned-post-in-group"// bump this when you edit the message
|
||||||
|
// fullscreen: true, // optional: turn it into a modal
|
||||||
|
// confirm: true // optional: force clicking an action to close
|
||||||
|
}
|
||||||
|
],
|
||||||
blog: {
|
blog: {
|
||||||
excerptLength: 0,
|
excerptLength: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user