Tim Bannister
20d8b28e1b
Implement announcements as data-driven content
...
This change allows announcements to have an expiry date and / or a
“do not show until” date.
Separating this out also leaves room for future changes to enforce
a set of approvers.
Co-Authored-By: Karen Bradshaw <kbhawkey@gmail.com>
2021-01-07 08:44:16 +00:00
Tim Bannister
8fcfbe692b
Mark announcements nosnippet
...
Add special metadata that Google Search pays attention to, so that the
search engine ignores the <aside> element contents for announcements.
2020-06-26 21:20:16 +01:00
Tim Bannister
6a94d9838b
Mark front page announcements as <aside> elements
...
This matches the HTML used on the rest of the site. It helps avoid
search engines treating the aside as the primary content of the web
page.
2020-06-24 22:35:00 +01:00
Celeste Horgan
9b9ce1f942
Reimplement announcements ( #21586 )
...
* Reimplement announcements
Signed-off-by: Celeste Horgan <celeste@cncf.io>
Address deprecation-warning styling
Signed-off-by: Celeste Horgan <celeste@cncf.io>
Use partial only
Signed-off-by: Celeste Horgan <celeste@cncf.io>
Refine
Signed-off-by: Celeste Horgan <celeste@cncf.io>
* Turn on announcements for preview only
Signed-off-by: Celeste Horgan <celeste@cncf.io>
* Update config.toml
Co-authored-by: Celeste Horgan <celeste@cncf.io>
Co-authored-by: Zach Corleissen <zacharysarah@users.noreply.github.com>
2020-06-09 13:46:05 -07:00
Celeste Horgan
9caa83d75b
Improve announcements implementation
...
Signed-off-by: Celeste Horgan <celeste@cncf.io>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-06-04 14:20:47 -07:00