mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-24 09:37:03 +01:00
Better default template.
This commit is contained in:
parent
42b7d57421
commit
48d294a695
2 changed files with 4 additions and 6 deletions
|
@ -42,11 +42,9 @@ const (
|
|||
<html>
|
||||
<head>
|
||||
<title>{{.Doc.title}}</title>
|
||||
<meta charset="utf-8">
|
||||
{{range .Styles}}<link rel="stylesheet" href="{{.}}">
|
||||
{{end -}}
|
||||
{{range .Scripts}}<script src="{{.}}"></script>
|
||||
{{end -}}
|
||||
<meta charset="utf-8">{{range .Styles}}
|
||||
<link rel="stylesheet" href="{{.}}">{{end}}{{range .Scripts}}
|
||||
<script src="{{.}}"></script>{{end}}
|
||||
</head>
|
||||
<body>
|
||||
{{.Doc.body}}
|
||||
|
|
Loading…
Reference in a new issue