Commit 0956b439 authored by Linus's avatar Linus 🤔
Browse files

1.0 Version!

parent fd5ba19f
Pipeline #78429 passed with stages
in 24 seconds
......@@ -76,7 +76,8 @@ func data(w http.ResponseWriter, r *http.Request) error {
func info(w http.ResponseWriter, r *http.Request) error {
args := map[string]interface{}{
"Title": "Info",
"Title": "Info",
"VersionNumber": version,
}
return render("templates/info.html", args, w, r)
}
......@@ -9,6 +9,8 @@ import (
"time"
)
var version = "1.0"
var listingsFile string
var swapListingsFile string
......
{{ define "content" }}
apb ist freie Software unter der MIT-Lizenz.
<br><br>
Version {{ .VersionNumber }}<br>
apb ist freie Software unter der MIT-Lizenz.<br>
<a href="https://git.rwth-aachen.de/h/apb">Repo</a>
{{ end }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment