summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-05-25 23:11:17 +0200
committermms <michal@sapka.me>2024-05-25 23:11:17 +0200
commit48a246a8db493a9dd307bf2f700a697c1efde0da (patch)
tree2467f8872491e01b3076271114765e94c6b4f5f1 /layouts
parentc1a74cc9d62515d0bc1c09522de223c32f2cfd18 (diff)
feat: TOS
Diffstat (limited to 'layouts')
l---------layouts/brain-rot/.#baseof.html1
-rw-r--r--layouts/brain-rot/baseof.html10
2 files changed, 7 insertions, 4 deletions
diff --git a/layouts/brain-rot/.#baseof.html b/layouts/brain-rot/.#baseof.html
deleted file mode 120000
index 4de3353..0000000
--- a/layouts/brain-rot/.#baseof.html
+++ /dev/null
@@ -1 +0,0 @@
-mms@voyager.29834:1715624266 \ No newline at end of file
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;