Add visible version
This is to be able to track which instances (including the main one) have which fixes
This commit is contained in:
parent
f7e82ffd03
commit
037bc7cd0f
4 changed files with 14 additions and 1 deletions
|
@ -3,6 +3,7 @@ require "./shards"
|
||||||
# Load the asset manifest
|
# Load the asset manifest
|
||||||
Lucky::AssetHelpers.load_manifest "public/mix-manifest.json"
|
Lucky::AssetHelpers.load_manifest "public/mix-manifest.json"
|
||||||
|
|
||||||
|
require "./version"
|
||||||
require "../config/server"
|
require "../config/server"
|
||||||
require "../config/**"
|
require "../config/**"
|
||||||
require "./app_database"
|
require "./app_database"
|
||||||
|
|
|
@ -3,8 +3,13 @@ class Shared::LayoutFooter < BaseComponent
|
||||||
section do
|
section do
|
||||||
footer do
|
footer do
|
||||||
para do
|
para do
|
||||||
|
span do
|
||||||
a "Source code", href: "https://sr.ht/~edwardloveall/scribe"
|
a "Source code", href: "https://sr.ht/~edwardloveall/scribe"
|
||||||
end
|
end
|
||||||
|
span do
|
||||||
|
text "Version: #{Scribe::VERSION}"
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -30,3 +30,7 @@ figure iframe {
|
||||||
background: rgba(221, 221, 221, 0.3);
|
background: rgba(221, 221, 221, 0.3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer p span {
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
|
3
src/version.cr
Normal file
3
src/version.cr
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module Scribe
|
||||||
|
VERSION = "2022-01-04"
|
||||||
|
end
|
Loading…
Reference in a new issue