mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-05 18:44:58 +03:00
Make default template more readable/clean.
This commit is contained in:
parent
c431a07af5
commit
249c9a17f5
1 changed files with 7 additions and 3 deletions
|
@ -82,9 +82,13 @@ 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