Fixing few minor stuff

This commit is contained in:
ngn 2024-01-17 20:16:24 +03:00
parent 65c929c837
commit e050e82b2d
3 changed files with 4 additions and 2 deletions

View File

@ -31,6 +31,7 @@ import (
func main(){ func main(){
engine := html.New("./templates", ".html") engine := html.New("./templates", ".html")
app := fiber.New(fiber.Config{ app := fiber.New(fiber.Config{
DisableStartupMessage: true,
Views: engine, Views: engine,
}) })
app.Static("/", "./public") app.Static("/", "./public")
@ -48,5 +49,6 @@ func main(){
return lib.RenderError(c, 404) return lib.RenderError(c, 404)
}) })
log.Info("Starting MatterLinux Website on port 9878")
log.Fatal(app.Listen(":9878")) log.Fatal(app.Listen(":9878"))
} }

View File

@ -36,7 +36,7 @@ body{
.logo { .logo {
font-family: JetBrainsItalic; font-family: JetBrainsItalic;
font-size: 30px; font-size: 25px;
color: white; color: white;
} }

View File

@ -5,6 +5,6 @@
<a href="/news">News</a> <a href="/news">News</a>
<a href="/wiki">Wiki</a> <a href="/wiki">Wiki</a>
<a href="https://git.matterlinux.xyz/Matter">Source</a> <a href="https://git.matterlinux.xyz/Matter">Source</a>
<a href="https://pkgs.matterlinux.xyz">Packages</a> <a href="https://tracker.matterlinux.xyz">Packages</a>
</div> </div>
</div> </div>