diff options
author | mms <michal@sapka.me> | 2024-05-25 23:11:17 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-05-25 23:11:17 +0200 |
commit | 48a246a8db493a9dd307bf2f700a697c1efde0da (patch) | |
tree | 2467f8872491e01b3076271114765e94c6b4f5f1 /layouts/brain-rot/baseof.html | |
parent | c1a74cc9d62515d0bc1c09522de223c32f2cfd18 (diff) |
feat: TOS
Diffstat (limited to 'layouts/brain-rot/baseof.html')
-rw-r--r-- | layouts/brain-rot/baseof.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/layouts/brain-rot/baseof.html b/layouts/brain-rot/baseof.html index b0d366d..f18b7d0 100644 --- a/layouts/brain-rot/baseof.html +++ b/layouts/brain-rot/baseof.html @@ -1,10 +1,14 @@ <!DOCTYPE html> <html lang="en"> <head> - <meta name="viewport" content="width=device-width, initial-scale=1"> - {{ partial "header/meta" . }} - {{- $bg := resources.Get "brain-rot/bg-stars.jpg" }} + <meta name="viewport" content="width=device-width, initial-scale=1"> + {{- $bg := resources.Get "brain-rot/bg-stars.jpg" -}} + {{ partial "header/meta" . }} + {{- if strings.Contains .Permalink "witcher" -}} + {{- $bg = resources.Get "brain-rot/bg-witcher.jpg" -}} + {{- end -}} + <style> :root { --content-bg: #fff; |