add copyright
This commit is contained in:
parent
1d197ecfe4
commit
2113f56822
3 changed files with 18 additions and 2 deletions
|
@ -95,13 +95,18 @@ function __make_assets(): object {
|
|||
),
|
||||
);
|
||||
|
||||
define('REVS', array(
|
||||
'main.css' => 2,
|
||||
));
|
||||
|
||||
function update_paths(&$data, $path) {
|
||||
foreach ($data as $key => $value) {
|
||||
if (is_array($value)) {
|
||||
update_paths($value, "$path/$key");
|
||||
$data[$key] = $value;
|
||||
} else {
|
||||
$data[$key] = "$path/$value?rev=1";
|
||||
$rev = REVS[$value] ?? 1;
|
||||
$data[$key] = "{$path}/{$value}?rev={$rev}";
|
||||
}
|
||||
}
|
||||
$data = (object) $data;
|
||||
|
|
|
@ -133,6 +133,14 @@ footer#footer {
|
|||
border: none;
|
||||
background: white;
|
||||
}
|
||||
|
||||
#copyright {
|
||||
width: fit-content;
|
||||
margin: 5px auto;
|
||||
padding: 10px;
|
||||
background: black;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
/* dither */
|
||||
|
|
|
@ -17,5 +17,8 @@
|
|||
id="john"
|
||||
sandbox="allow-scripts"
|
||||
src="https://john.citrons.xyz/embed?ref=rit.wtf"
|
||||
></iframe>
|
||||
></iframe>
|
||||
<div id="copyright">
|
||||
Freya Murphy © <?=date("Y")?> | <a href="https://freya.cat">freya.cat</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in a new issue