mirror of
https://git.sr.ht/~edwardloveall/scribe
synced 2025-12-10 12:41:23 +00:00
Add visible version
This is to be able to track which instances (including the main one) have which fixes
This commit is contained in:
@@ -3,6 +3,7 @@ require "./shards"
|
||||
# Load the asset manifest
|
||||
Lucky::AssetHelpers.load_manifest "public/mix-manifest.json"
|
||||
|
||||
require "./version"
|
||||
require "../config/server"
|
||||
require "../config/**"
|
||||
require "./app_database"
|
||||
|
||||
@@ -3,7 +3,12 @@ class Shared::LayoutFooter < BaseComponent
|
||||
section do
|
||||
footer do
|
||||
para do
|
||||
a "Source code", href: "https://sr.ht/~edwardloveall/scribe"
|
||||
span do
|
||||
a "Source code", href: "https://sr.ht/~edwardloveall/scribe"
|
||||
end
|
||||
span do
|
||||
text "Version: #{Scribe::VERSION}"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -30,3 +30,7 @@ figure iframe {
|
||||
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
|
||||
Reference in New Issue
Block a user