summaryrefslogtreecommitdiff
path: root/src/web/_views
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-02-23 22:57:27 -0500
committerFreya Murphy <freya@freyacat.org>2026-02-23 22:57:27 -0500
commitf373ead95fb5beb962c376b5b7b46dfde8ac4e57 (patch)
treec99df23521ff2a5e5e2e4627c525a5e99dc2e3ae /src/web/_views
parentadd 96x96 logo (diff)
downloadwebsite-f373ead95fb5beb962c376b5b7b46dfde8ac4e57.tar.gz
website-f373ead95fb5beb962c376b5b7b46dfde8ac4e57.tar.bz2
website-f373ead95fb5beb962c376b5b7b46dfde8ac4e57.zip
update website to work with crimson framework
Diffstat (limited to '')
-rw-r--r--src/web/_views/head.php2
-rw-r--r--src/web/_views/header.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/web/_views/head.php b/src/web/_views/head.php
index ab7bb1b..1ca6954 100644
--- a/src/web/_views/head.php
+++ b/src/web/_views/head.php
@@ -23,7 +23,7 @@
<link rel="manifest" href="/manifest.json">
<?php
/* Main CSS */
- if (CONTEXT['app'] != 'bucket')
+ if (ROUTER->req['app'] != 'bucket')
echo $this->link_css('css/main.css');
/* IE 4-7 Styles */
diff --git a/src/web/_views/header.php b/src/web/_views/header.php
index 90a31ea..f6b4740 100644
--- a/src/web/_views/header.php
+++ b/src/web/_views/header.php
@@ -17,15 +17,15 @@
<li class="ie-nav">
<?=ilang('action_home',
href: $this->get_url('home'),
- container: 'h2'
+ subtype: 'h2'
)?></li>
<li><?=ilang('action_projects',
href: $this->get_url('projects'),
- container: 'h2'
+ subtype: 'h2'
)?></li>
<li><?=ilang('action_blog',
href: $this->get_url('blog'),
- container: 'h2'
+ subtype: 'h2'
)?></li>
</ul>
</div>