Déplacer css general vers general.css
Au lieu de mettre `text-align: center;` dans index.css, le déplacer vers general.css pour avoir un endroit où mettre le css général du site.
This commit is contained in:
parent
27e02c3a8e
commit
a7334f4e0f
4 changed files with 7 additions and 3 deletions
3
public/css/general.css
Normal file
3
public/css/general.css
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
h1 {
|
||||||
|
text-align: center;
|
||||||
|
}
|
|
@ -1,3 +0,0 @@
|
||||||
h1 {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
3
public/html/general.gohtml
Normal file
3
public/html/general.gohtml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{{ define "general-html" }}
|
||||||
|
<link rel="stylesheet" href="static/general.css">
|
||||||
|
{{ end }}
|
|
@ -4,6 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>AGECEM</title>
|
<title>AGECEM</title>
|
||||||
|
{{ template "general-html" }}
|
||||||
<link rel="stylesheet" href="static/index.css">
|
<link rel="stylesheet" href="static/index.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in a new issue