From 07527f8e33aa6ed2ffc303c971f383190a7925aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= <nicolas@ortegas.org>
Date: Tue, 25 Feb 2025 13:29:47 +0100
Subject: [PATCH] Fix variables in pages.

---
 src/blog/index.html.php | 3 ++-
 src/contact.html.php    | 3 ++-
 src/index.html.php      | 4 ++--
 src/poetry.html.php     | 3 ++-
 4 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/blog/index.html.php b/src/blog/index.html.php
index fd353dc..8500673 100644
--- a/src/blog/index.html.php
+++ b/src/blog/index.html.php
@@ -1,9 +1,10 @@
 <?php
+require "config.php";
+
 $title = "Blog";
 $description = "A collection of posts on miscellaneous subjects.";
 $keywords = "blog, catholicism, religion, faith, computers, programming, lifestyle, bible, scripture";
 
-require "config.php";
 require "templates/header.php";
 ?>
 <h2>Feeds</h2>
diff --git a/src/contact.html.php b/src/contact.html.php
index 4ea706c..9d6dd0f 100644
--- a/src/contact.html.php
+++ b/src/contact.html.php
@@ -1,9 +1,10 @@
 <?php
+require "config.php";
+
 $title = "Contact";
 $description = "Directory of mediums I can be contacted by, as well as a link to my PGP key.";
 $keywords = "email, pgp, irc, contact";
 
-require "config.php";
 require "templates/header.php";
 ?>
 
diff --git a/src/index.html.php b/src/index.html.php
index c1fd281..2114727 100644
--- a/src/index.html.php
+++ b/src/index.html.php
@@ -1,7 +1,7 @@
 <?php
-$title = "Home Page";
-
 require "config.php";
+
+$title = "Home";
 require "templates/header.php";
 ?>
 <img
diff --git a/src/poetry.html.php b/src/poetry.html.php
index c6f6c78..dac0e51 100644
--- a/src/poetry.html.php
+++ b/src/poetry.html.php
@@ -1,9 +1,10 @@
 <?php
+require "config.php";
+
 $title = "Poetry";
 $description = "A collection of some of my poems.";
 $keywords = "poetry, religion, catholicism";
 
-require "config.php";
 require "templates/header.php";
 ?>
 <p>I'm not truly super into writing poetry, or reading it for that