mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2025-09-13 21:13:40 +02:00
fix: remove website version page
This commit is contained in:
parent
51e8215e78
commit
f74d39913b
2 changed files with 0 additions and 21 deletions
|
@ -39,10 +39,6 @@
|
||||||
<section>
|
<section>
|
||||||
<p>Let's work on something together or just have a chat? <a href="contact" vv="about" vv-call="navigate">Write me a line!</a></p>
|
<p>Let's work on something together or just have a chat? <a href="contact" vv="about" vv-call="navigate">Write me a line!</a></p>
|
||||||
</section>
|
</section>
|
||||||
<hr>
|
|
||||||
<section class="version">
|
|
||||||
<p>website version: <?= VV::include("public/about/version") ?></p>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<div class="interests" aria-hidden="true">
|
<div class="interests" aria-hidden="true">
|
||||||
<p>SSTV</p>
|
<p>SSTV</p>
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
/*
|
|
||||||
A pretty naive website version fetcher that assumes the latest git tag is the
|
|
||||||
version the website is currently displaying. The intent is that any live-master
|
|
||||||
of this website should always track the master branch and pull the latest HEAD
|
|
||||||
without any exceptions.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Get tags from local git folder
|
|
||||||
$dir = scandir(VV::root(".git/refs/tags"));
|
|
||||||
|
|
||||||
// Get current version number from latest tag
|
|
||||||
$version = end($dir);
|
|
||||||
|
|
||||||
?>
|
|
||||||
<a href="https://codeberg.org/vlw/vlw.se/releases/tag/<?= $version ?>"><?= $version ?></a>
|
|
Loading…
Add table
Reference in a new issue