-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Version is now in footer and passed during build * "Contact" has been removed, I mostly get E-Mails I wish i wouldn't receive. For issues the "feedback" link should be used. All others have to be smart enough to navigate to where my E-Mail can be found ;)
- Loading branch information
1 parent
8e548d2
commit 06ec42f
Showing
11 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
{{define "footer"}} | ||
{{if eq .Version "dev"}} | ||
<a class="footer-item" href="https://github.com/scribble-rs/scribble.rs" target="_blank">{{.Version}}</a> | ||
{{else}} | ||
<a class="footer-item" href="https://github.com/scribble-rs/scribble.rs/releases/tag/{{.Version}}" | ||
target="_blank">{{.Version}}</a> | ||
{{end}} | ||
<a class="footer-item" href="https://github.com/scribble-rs/scribble.rs" | ||
target="_blank">{{.Translation.Get "source-code"}}</a> | ||
<a class="footer-item" href="https://github.com/scribble-rs/scribble.rs/wiki" | ||
target="_blank">{{.Translation.Get "help"}}</a> | ||
<a class="footer-item" href="mailto:[email protected]" target="_blank">{{.Translation.Get "contact"}}</a> | ||
<a class="footer-item" href="https://github.com/scribble-rs/scribble.rs/issues/new" | ||
target="_blank">{{.Translation.Get "submit-feedback"}}</a> | ||
<a class="footer-item" href="{{.RootPath}}/v1/stats" target="_blank">{{.Translation.Get "stats"}}</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// version holds the git that this version was built from. In development | ||
// scearios, it will default to "dev". | ||
package version | ||
|
||
// Version of the application. | ||
var Version = "dev" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters