mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-26 10:13:39 +08:00
Better default template.
This commit is contained in:
parent
42b7d57421
commit
48d294a695
|
@ -151,7 +151,7 @@ DocFlags.var_bool true`
|
||||||
<link rel="stylesheet" href="/resources/css/default.css">
|
<link rel="stylesheet" href="/resources/css/default.css">
|
||||||
<script src="/resources/js/log.js"></script>
|
<script src="/resources/js/log.js"></script>
|
||||||
<script src="/resources/js/default.js"></script>
|
<script src="/resources/js/default.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>Welcome on the blog</h2>
|
<h2>Welcome on the blog</h2>
|
||||||
|
|
||||||
|
|
|
@ -42,11 +42,9 @@ const (
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{{.Doc.title}}</title>
|
<title>{{.Doc.title}}</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">{{range .Styles}}
|
||||||
{{range .Styles}}<link rel="stylesheet" href="{{.}}">
|
<link rel="stylesheet" href="{{.}}">{{end}}{{range .Scripts}}
|
||||||
{{end -}}
|
<script src="{{.}}"></script>{{end}}
|
||||||
{{range .Scripts}}<script src="{{.}}"></script>
|
|
||||||
{{end -}}
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{.Doc.body}}
|
{{.Doc.body}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user