mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 09:39:25 +01:00
add badge
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
7a9661dbe7
commit
f769e44ca3
3 changed files with 23 additions and 0 deletions
16
README.md
16
README.md
|
@ -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
BIN
badge.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
|
@ -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/*"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue