diff --git a/_data/messages.yml b/_data/messages.yml new file mode 100644 index 000000000..642a7ac55 --- /dev/null +++ b/_data/messages.yml @@ -0,0 +1 @@ +scam-banner: "**⚠️ Beware of Scams**: since Feb 2024, scammers are using [fake Scala websites to sell courses](https://www.scala-lang.org/blog/2024/03/01/fake-scala-courses.html), please check you are using an official source." diff --git a/_includes/alert-banner-inner.html b/_includes/alert-banner-inner.html new file mode 100644 index 000000000..135cf0bda --- /dev/null +++ b/_includes/alert-banner-inner.html @@ -0,0 +1,6 @@ +{% comment %}use the variable 'message' to include markdown text to display in the alert.{% endcomment %} + +
{{include.message|markdownify}}
+ +