summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.pl b/index.pl
index 9b19fbf..108539c 100644
--- a/index.pl
+++ b/index.pl
@@ -8,7 +8,7 @@ use utf8;
no if $] >= 5.018, warnings => "experimental::smartmatch";
-#our $VERSION = qx{git describe --dirty} || '0.01';
+our $VERSION = qx{git describe --dirty} || '0.01';
my $table = $ENV{DBDB_TABLE} // 'departures';
@@ -294,7 +294,7 @@ get '/2ddata.tsv' => sub {
get '/' => sub {
my $self = shift;
- $self->render('intro');
+ $self->render('intro', version => $VERSION);
return;
};