aboutsummaryrefslogtreecommitdiff
path: root/boilerplate.php
diff options
context:
space:
mode:
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