Migrer exposition statique à StaticWithConfig

Ajouter groupStatic pour StaticWithConfig

Retirer handlers manuels redondants par StaticWithConfig
This commit is contained in:
Victor Lacasse-Beaudoin 2023-07-04 22:17:04 -04:00
parent 2eee1f2fd2
commit 6bc791506a
5 changed files with 26 additions and 22 deletions

View file

@ -1,3 +1,3 @@
{{ define "general-html" }}
<link rel="stylesheet" href="/static/general.css">
<link rel="stylesheet" href="/public/css/general.css">
{{ end }}

View file

@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>AGECEM</title>
{{ template "general-html" }}
<link rel="stylesheet" href="static/index.css">
<link rel="stylesheet" href="/public/css/index.css">
</head>
<body>
{{ template "header-html" }}