mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-02 02:14:58 +08:00
Make default template more readable/clean.
This commit is contained in:
parent
c431a07af5
commit
249c9a17f5
|
@ -82,9 +82,13 @@ const (
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{{.Doc.title}}</title>
|
<title>{{.Doc.title}}</title>
|
||||||
<meta charset="utf-8">{{range .Styles}}
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="{{.}}">{{end}}{{range .Scripts}}
|
{{- range .Styles}}
|
||||||
<script src="{{.}}"></script>{{end}}
|
<link rel="stylesheet" href="{{.}}">
|
||||||
|
{{- end}}
|
||||||
|
{{- range .Scripts}}
|
||||||
|
<script src="{{.}}"></script>
|
||||||
|
{{- end}}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{.Doc.body}}
|
{{.Doc.body}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user