let's put the home section on the sidebar as well

Gerasimos (Makis) Maropoulos 2019-07-02 14:43:20 +03:00
parent 6aba338d0e
commit 7f414b4276
No known key found for this signature in database
GPG Key ID: F169457BBDA4ACF4
2 changed files with 3 additions and 1 deletions

@ -119,7 +119,8 @@ func(validNames []string) func(string) bool {
}
})
app.Get("/static_validation/{name:string has([kataras,maropoulos])}", func(ctx iris.Context) {
app.Get("/static_validation/{name:string has([kataras,maropoulos])}",
func(ctx iris.Context) {
name := ctx.Params().Get("name")
ctx.Writef(`Hello %s | the name should be "kataras" or "maropoulos"
otherwise this handler will not be executed`, name)

@ -1,3 +1,4 @@
* [[Home]]
* [[About]]
* [[Support]]
* [[Installing Iris|Installation]]