forked from blurryface/Website
Compare commits
No commits in common. "main" and "main" have entirely different histories.
|
@ -207,14 +207,6 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$router->get('/section', function() {
|
|
||||||
global $twig;
|
|
||||||
|
|
||||||
$twig->addGlobal('pageUri', '/section');
|
|
||||||
|
|
||||||
echo $twig->render('section.twig');
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
$router->get('/u/([a-z0-9_\.]+)', function($name) {
|
$router->get('/u/([a-z0-9_\.]+)', function($name) {
|
||||||
global $twig, $mysql, $discord;
|
global $twig, $mysql, $discord;
|
||||||
|
@ -232,7 +224,6 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// ---------------- Admin ---------------- //
|
// ---------------- Admin ---------------- //
|
||||||
|
|
||||||
$router->get('/admin', function() {
|
$router->get('/admin', function() {
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
{% include 'includes/head.twig' with {'pageTitle': 'section'} %}
|
|
||||||
|
|
||||||
{% include 'includes/hero.twig' %}
|
|
||||||
|
|
||||||
{% include 'includes/nav.twig' with {'page': 'section'} %}
|
|
||||||
|
|
||||||
<main class="pageContent container">
|
|
||||||
<h1>this is a section i think</h1>
|
|
Loading…
Reference in a new issue