Ajouter stylesheet /static/index.css pour /

Déplacer public/scss vers public/css

Ajouter public/css/index.css comme stylesheet pour /

Ajouter route /static/index.css comme Blob text/css
This commit is contained in:
Victor Lacasse-Beaudoin 2023-03-21 19:59:41 -04:00
parent 74c24b27f3
commit 0036a6ddca
5 changed files with 15 additions and 4 deletions

3
public/css/index.css Normal file
View file

@ -0,0 +1,3 @@
body {
text-align: center;
}

View file

@ -4,9 +4,7 @@
<head>
<meta charset="utf-8">
<title>AGECEM</title>
<style>
body {text-align: center;}
</style>
<link rel="stylesheet" href="static/index.css">
</head>
<body>
<h1>Association Générale Étudiante du Cégep Édouard-Montpetit</h1>

View file

@ -2,7 +2,7 @@ package public
import "embed"
//go:embed html/* scss/* js/*
//go:embed html/* css/* js/*
var embedFS embed.FS
func GetEmbedFS() embed.FS {

View file