Skip to content

Commit

Permalink
feat: added announcements how-to
Browse files Browse the repository at this point in the history
Signed-off-by: veralex <alexey.verevkin@akvelon.com>
  • Loading branch information
alexakvelon authored and poiana committed Apr 3, 2023
1 parent 180417c commit 38e1a9d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
16 changes: 16 additions & 0 deletions ADD_ANNOUNCEMENT.md
Original file line number Diff line number Diff line change
@@ -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: '<a href="https://upandrunning.eventbrite.com" target="_blank">Meet the Falco community at KubeCon EU!</a>'
```
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
5 changes: 2 additions & 3 deletions data/en/announcements/kubecon-eu.yaml
Original file line number Diff line number Diff line change
@@ -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! <a href="https://upandrunning.eventbrite.com" target="_blank">Register</a>'
endDate: '2023-04-23T00:00:00-0700'
content: '<a href="https://upandrunning.eventbrite.com" target="_blank">Meet the Falco community at KubeCon EU!</a>'

0 comments on commit 38e1a9d

Please sign in to comment.