diff --git a/src/Controller/GuiController.php b/src/Controller/GuiController.php index f5b68df..cf6dddb 100644 --- a/src/Controller/GuiController.php +++ b/src/Controller/GuiController.php @@ -1,13 +1,17 @@ render('/index.html.twig'); + #[Template('/index.html.twig')] + public function index(): Array { + return [ + 'title' => 'Joe Carstairs', + 'description' => 'Joe Carstairs\' personal website', + ]; } } diff --git a/templates/base.html.twig b/templates/base.html.twig index 3cda30f..584f205 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -1,17 +1,19 @@ - -
- -
+ + Hi! 👋 My name is Joe + Carstairs. I’m a + software developer at + Scott Logic, a + graduate of Philosophy and Mathematics at the University of Edinburgh, + a committed Christian and a pretty rubbish poet. +
- - - - - - ++ I’m also the secretary of the + Scots Language Society. + Help me maintain our website! +
- - - - - - ++ HMU with your thoughts on philosophy of science, Scots verse and + John the Evangelist. +
- - - - - - - - -
- - Hi! 👋 My name is Joe - Carstairs. I’m a - software developer at - Scott Logic, a - graduate of Philosophy and Mathematics at the University of Edinburgh, - a committed Christian and a pretty rubbish poet. -
- -- I’m also the secretary of the - Scots Language Society. - Help me maintain our website! -
- -- HMU with your thoughts on philosophy of science, Scots verse and - John the Evangelist. -
- -- - Or get me on - Facebook, - Mastodon, - LinkedIn, - BlueSky, - or GitHub. - -
-+ + Or get me on + Facebook, + Mastodon, + LinkedIn, + BlueSky, + or GitHub. + +
+