diff --git a/README.md b/README.md index e26f91b..d1be3ab 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,22 @@ ### [My website's](https://www.ari.lt/) source code. +# Badge + +in html : + +```html + ari-web badge +``` + +in markdown : + +```md +[![ari-web badge](https://ari.lt/badge.png)](https://ari.lt/) +``` + +[![ari-web badge](https://ari.lt/badge.png)](https://ari.lt/) + # Customising when self-hosting 1. Clone the repository: `git clone https://ari.lt/git ari-web` diff --git a/badge.png b/badge.png new file mode 100644 index 0000000..9187534 Binary files /dev/null and b/badge.png differ diff --git a/netlify.toml b/netlify.toml index cce7845..48fd562 100644 --- a/netlify.toml +++ b/netlify.toml @@ -197,6 +197,13 @@ compress = true # -------------- +[[headers]] + for = "/badge.png" + + [headers.values] + Access-Control-Allow-Origin = "*" + Access-Control-Allow-Methods = "GET" + [[headers]] for = "/api/*"