diff options
Diffstat (limited to 'src/includes/nav-footer.php')
| -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 |
