diff options
| author | kj_sh604 | 2026-01-01 01:21:47 -0500 |
|---|---|---|
| committer | kj_sh604 | 2026-01-01 01:21:47 -0500 |
| commit | 7e02f5bb190837e3d05713e6fc98db8aeb173563 (patch) | |
| tree | 76a94ccef6eea1841a20effa4ce76973eda295c7 /src/includes | |
| parent | 34e4384c7c922c44c4cf64c3880813ef152d4424 (diff) | |
refactor: use `<code>` for version block
Diffstat (limited to 'src/includes')
| -rw-r--r-- | src/includes/nav-footer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/includes/nav-footer.php b/src/includes/nav-footer.php index e620ef8..2d8b6e5 100644 --- a/src/includes/nav-footer.php +++ b/src/includes/nav-footer.php @@ -5,11 +5,11 @@ <br> <p>all site content is in the public domain</p> <p><small>my other stuff: <a href="https://aedrielkylejavier.me/" target="_blank">website link →</a></small></p> -<p><small><pre>version: <?php +<p><small><code>version: <?php $version_file = __DIR__ . '/../VERSION'; if (file_exists($version_file)) { echo htmlspecialchars(trim(file_get_contents($version_file)), ENT_QUOTES, 'UTF-8'); } else { echo 'unknown'; } -?></pre></small></p>
\ No newline at end of file +?></code></small></p>
\ No newline at end of file |
