From 38e1a9d4ac4231c0939edabcfa03a8121a1167ae Mon Sep 17 00:00:00 2001 From: veralex Date: Mon, 3 Apr 2023 17:01:52 +0100 Subject: [PATCH] feat: added announcements how-to Signed-off-by: veralex --- ADD_ANNOUNCEMENT.md | 16 ++++++++++++++++ data/en/announcements/kubecon-eu.yaml | 5 ++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 ADD_ANNOUNCEMENT.md diff --git a/ADD_ANNOUNCEMENT.md b/ADD_ANNOUNCEMENT.md new file mode 100644 index 000000000..28f5b84d4 --- /dev/null +++ b/ADD_ANNOUNCEMENT.md @@ -0,0 +1,16 @@ +# How to add announcement +Please follow these steps to add announcement +1. Fork [Falco](https://github.com/falcosecurity/falco-website) repository +2. Add new announcemnt to [data/en/announcements](https://github.com/falcosecurity/falco-website/tree/master/data/en/announcements) in a following format: +``` +index: 2 +startDate: '2023-04-01T00:00:00-0700' +endDate: '2023-04-23T00:00:00-0700' +content: 'Meet the Falco community at KubeCon EU!' +``` +where: +- `startDate` is a date when you want the event to start showing in a specific timezone. Optional +- `endDate` is a date when you want the event to stop showing in a specific timezone. Optional +- `index` is еру order of the events. **IMPORTANT - index must be specified and must be greater than the largest existing event index** +- `content` text or html of the event +3. Create pull request to the Falco repository with your changes \ No newline at end of file diff --git a/data/en/announcements/kubecon-eu.yaml b/data/en/announcements/kubecon-eu.yaml index c88f79342..f12257a3f 100644 --- a/data/en/announcements/kubecon-eu.yaml +++ b/data/en/announcements/kubecon-eu.yaml @@ -1,4 +1,3 @@ index: 2 -# startDate: '2023-03-08T00:00:00.000Z' -endDate: '2023-04-23T00:00:00.000Z' -content: 'Meet the Falco community at KubeCon EU! Register' \ No newline at end of file +endDate: '2023-04-23T00:00:00-0700' +content: 'Meet the Falco community at KubeCon EU!' \ No newline at end of file