remove revisioning from footer\
revisioning on footer was wrong because it would always have one revision less. From now on, it is the user's responsability to know when he have downloaded caddy (if downloaded from caddyserver.com) OR to know which revision he is in (if he built from source).pull/144/head
parent
123ac96e1f
commit
7f95e5e6de
|
@ -264,6 +264,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<footer>Served with <a rel="noopener noreferrer" href="https://caddyserver.com">Caddy</a> and <a rel="noopener noreferrer" href="https://github.com/hacdias/caddy-filemanager">File Manager</a>. Revision {{ .Commit }}.</footer>
|
||||
<footer>Served with <a rel="noopener noreferrer" href="https://caddyserver.com">Caddy</a> and <a rel="noopener noreferrer" href="https://github.com/hacdias/caddy-filemanager">File Manager</a>.</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -34,11 +34,6 @@ type Info struct {
|
|||
Token string
|
||||
}
|
||||
|
||||
// Commit returns the current build commit
|
||||
func (i *Info) Commit() string {
|
||||
return GIT_COMMIT_HASH
|
||||
}
|
||||
|
||||
// BreadcrumbMapItem ...
|
||||
type BreadcrumbMapItem struct {
|
||||
Name string
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
package page
|
||||
|
||||
var GIT_COMMIT_HASH = "2640977"
|
||||
var CIRCLE_BUILD_NUM = ""
|
||||
var GENERATED int64 = 1492331950511420300
|
|
@ -1,11 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
go get github.com/jteeuwen/go-bindata/go-bindata
|
||||
go get github.com/bountylabs/gitversion
|
||||
|
||||
go-bindata -pkg assets -prefix "_embed" \
|
||||
-o assets/binary.go -ignore "^.*theme-([^g]|g[^i]|gi[^t]|git[^h]|gith[^u]|githu[^b]).*\.js$" \
|
||||
_embed/templates/... _embed/public/js/... _embed/public/css/... _embed/public/ace/src-min/...
|
||||
|
||||
gitversion -s -o page/version.go -p page
|
||||
git add -A
|
||||
|
|
Loading…
Reference in New Issue