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).


Former-commit-id: 3caf6557179540c0b0dba95cc3447e8d8de71b2b [formerly 1d878f86fe5c350c773e6deb596f9076b5b45cf1] [formerly c44ea4ec663c2cfaa37add9e998a80fc95ceb4dc [formerly 7f95e5e6de]]
Former-commit-id: eca27467cca6a26b284e3b963c1c6f15855c91e5 [formerly dba45db41f9eb5956fc00862b3e64d3d0be16c15]
Former-commit-id: 98e144c2aee7366559e8f08e7cedf7982ab5d432
pull/726/head
Henrique Dias 2017-04-16 09:44:42 +01:00
parent 788c54236c
commit 8dc8c74a82
5 changed files with 2 additions and 14 deletions

View File

@ -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>

View File

@ -1 +1 @@
4c7f54809aade704e88ae32c81a1287cdbe7c7dc
75422c223db54a8cbea454f33339c9b40d0e1dae

View File

@ -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

View File

@ -1,5 +0,0 @@
package page
var GIT_COMMIT_HASH = "2640977"
var CIRCLE_BUILD_NUM = ""
var GENERATED int64 = 1492331950511420300

View File

@ -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