add badge

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2023-12-23 17:28:17 +02:00
parent 7a9661dbe7
commit f769e44ca3
3 changed files with 23 additions and 0 deletions

View file

@ -14,6 +14,22 @@
### [My website's](https://www.ari.lt/) source code. ### [My website's](https://www.ari.lt/) source code.
# Badge
in html :
```html
<a href="https://ari.lt/"> <img src="https://ari.lt/badge.png" loading="lazy" alt="ari-web badge" /> </a>
```
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 # Customising when self-hosting
1. Clone the repository: `git clone https://ari.lt/git ari-web` 1. Clone the repository: `git clone https://ari.lt/git ari-web`

BIN
badge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -197,6 +197,13 @@
compress = true compress = true
# -------------- # --------------
[[headers]]
for = "/badge.png"
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Methods = "GET"
[[headers]] [[headers]]
for = "/api/*" for = "/api/*"