diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md
index 045c34d..c5a8484 100644
--- a/docs/docs/CHANGELOG.md
+++ b/docs/docs/CHANGELOG.md
@@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added documentation on how to use Anubis with Traefik in Docker
- Improved error handling in some edge cases
- Disable `generic-bot-catchall` rule because of its high false positive rate in real-world scenarios
+- Moved all CSS inline to the Xess package, changed colors to be CSS variables
- Set or append to `X-Forwarded-For` header unless the remote connects over a loopback address [#328](https://github.com/TecharoHQ/anubis/issues/328)
## v1.16.0
diff --git a/web/index.templ b/web/index.templ
index 989d717..818c6a5 100644
--- a/web/index.templ
+++ b/web/index.templ
@@ -1,203 +1,180 @@
package web
import (
-"github.com/TecharoHQ/anubis"
-"github.com/TecharoHQ/anubis/xess"
+ "github.com/TecharoHQ/anubis"
+ "github.com/TecharoHQ/anubis/xess"
)
templ base(title string, body templ.Component, challenge any, ogTags map[string]string) {
-
-
-
- { title }
-
-
-
- for key, value := range ogTags {
-
- }
-
- @templ.JSONScript("anubis_version", anubis.Version)
- if challenge != nil {
- @templ.JSONScript("anubis_challenge", challenge)
- }
-
-
-
-
-
-
{ title }
-
- @body
-
-
-
-
+
+
+
+ { title }
+
+
+
+ for key, value := range ogTags {
+
+ }
+ @templ.JSONScript("anubis_version", anubis.Version)
+ if challenge != nil {
+ @templ.JSONScript("anubis_challenge", challenge)
+ }
+
+
+
+
+
{ title }
+
+ @body
+
+
+
+
}
templ index() {
-
-
+
-
+
-
Loading...
-
-
-
-
-
- Why am I seeing this?
-
You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of
- AI companies
- aggressively scraping websites. This can and does cause downtime for the websites, which makes their
- resources inaccessible for everyone.
-
Anubis is a compromise. Anubis uses a Proof-of-Work
- scheme in the vein of Hashcash, a proposed
- proof-of-work scheme for reducing email spam. The idea is that at individual scales the additional load is
- ignorable, but at mass scraper levels it adds up and makes scraping much more expensive.
-
Ultimately, this is a hack whose real purpose is to give a "good enough" placeholder solution so that more
- time can be spent on fingerprinting and identifying headless browsers (EG: via how they do font rendering)
- so that the challenge proof of work page doesn't need to be presented to users that are much more likely to
- be legitimate.
-
Please note that Anubis requires the use of modern JavaScript features that plugins like JShelter will disable. Please disable JShelter or other such
- plugins for this domain.
-
-
-
-
+ />
+
Loading...
+
+
+
+
+
+ Why am I seeing this?
+
+ You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of
+
+ AI companies
+ aggressively scraping websites
+ . This can and does cause downtime for the websites, which makes their
+ resources inaccessible for everyone.
+
+
+ Anubis is a compromise. Anubis uses a Proof-of-Work
+ scheme in the vein of Hashcash, a proposed
+ proof-of-work scheme for reducing email spam. The idea is that at individual scales the additional load is
+ ignorable, but at mass scraper levels it adds up and makes scraping much more expensive.
+
+
+ Ultimately, this is a hack whose real purpose is to give a "good enough" placeholder solution so that more
+ time can be spent on fingerprinting and identifying headless browsers (EG: via how they do font rendering)
+ so that the challenge proof of work page doesn't need to be presented to users that are much more likely to
+ be legitimate.
+
+
+ Please note that Anubis requires the use of modern JavaScript features that plugins like JShelter will disable. Please disable JShelter or other such
+ plugins for this domain.
+