HTML head.

This commit is contained in:
Marvin Blum
2019-12-13 19:25:31 +01:00
parent e8df92164b
commit 1f589b8d00
3 changed files with 43 additions and 4 deletions

View File

@@ -7,9 +7,7 @@ import (
) )
var landingPageI18n = map[string]map[string]string{ var landingPageI18n = map[string]map[string]string{
"de": { "de": {},
"test": "Hello World",
},
} }
func LandingPageHandler(w http.ResponseWriter, r *http.Request) { func LandingPageHandler(w http.ResponseWriter, r *http.Request) {

6
run_dev.cmd Normal file
View File

@@ -0,0 +1,6 @@
set SCHNITTFEST_HOST=localhost:8080
set SCHNITTFEST_LOGLEVEL=debug
set SCHNITTFEST_ALLOWED_ORIGINS=*
set SCHNITTFEST_TLS_ENABLE=false
go run main.go

View File

@@ -1 +1,36 @@
{{index .Vars "test"}} <!DOCTYPE html>
<html lang="de">
<head>
<base href="/" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="copyright" content="Schnittfest GmbH" />
<meta name="author" content="Emvi Software GmbH" />
<meta name="title" content="" />
<meta name="description" content="" />
<meta name="msapplication-TileColor" content="#000000" />
<meta name="theme-color" content="#000000" />
<meta name="twitter:card" content="product" />
<meta name="twitter:site" content="@schnittfest" />
<meta name="twitter:title" content="" />
<meta name="twitter:description" content="" />
<meta name="twitter:image" content="" />
<meta property="og:url" content="https://schnittfest.gmbh/" />
<meta property="og:title" content="" />
<meta property="og:description" content="" />
<meta property="og:image" content="" />
<link rel="stylesheet" type="text/css" href="" />
<link rel="apple-touch-icon" sizes="180x180" href="" />
<link rel="icon" type="image/png" sizes="32x32" href="" />
<link rel="icon" type="image/png" sizes="16x16" href="" />
<link rel="mask-icon" href="" color="#000000" />
<title>Schnittfest</title>
</head>
<body>
Hallo Welt!
</body>
</html>