aboutsummaryrefslogtreecommitdiff
path: root/boilerplate.php
diff options
context:
space:
mode:
authorAda Isopods <me@bathynomus.xyz>2026-11-09 20:41:30 -0600
committerAda Isopods <me@bathynomus.xyz>2026-11-09 20:41:30 -0600
commitb9bbe6371d714868b0070e4c654a127facb24300 (patch)
tree91f33e16a9c7de77e9c0d76c0fec0503eaf23c8c /boilerplate.php
parent90b4dd8de82671845f4b9b9c4d75c11ad2102e73 (diff)
boilerplate.php
Diffstat (limited to 'boilerplate.php')
-rw-r--r--boilerplate.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/boilerplate.php b/boilerplate.php
new file mode 100644
index 0000000..dc3c2df
--- /dev/null
+++ b/boilerplate.php
@@ -0,0 +1,25 @@
+<meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<link href="/style.css" rel="stylesheet" type="text/css" media="all">
+
+<?php
+$fun = rand(0,8192);
+
+$favicon_filename = "/favicon.ico";
+$style = "";
+$greeting = "Welcome.";
+
+$month = idate("m");
+$day = idate("d");
+
+if($month == 6 || ($month == 3 && $day == 31)) {
+ #$favicon_filename = "/favicon_transgender.ico";
+ $style = ":root { --gradient: linear-gradient(135deg, #5BCEFA 0%, #5BCEFA 35%, #F5A9B8 65%, #FFFFFF 90%); }";
+ $greeting = "Trans rights!";
+}
+
+echo("<link rel='icon' type='image/x-icon' href='$favicon_filename'>");
+if($style) {
+ echo("<style>$style</style>");
+}
+?> \ No newline at end of file