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:
parent
74c24b27f3
commit
0036a6ddca
5 changed files with 15 additions and 4 deletions
3
public/css/index.css
Normal file
3
public/css/index.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
body {
|
||||
text-align: center;
|
||||
}
|
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue