<div class="footer-container">
    <a href="./">LibreX</a>
    <a href="https://git.qunn.eu/poesty/librex-extra/" target="_blank">Source &amp; Instances</a>
    <a href="./settings.php">Settings</a>
    <a href="./api.php" target="_blank">API</a>
    <a href="./donate.php">Donate ❤️</a>
</div>
<div class="git-container">
    <?php
        $hash = file_get_contents(".git/refs/heads/main");
        echo "<a href=\"https://git.qunn.eu/poesty/librex-extra/commit/$hash\" target=\"_blank\">Latest commit: $hash</a>";
    ?>
</div>
</body>
</html>