mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 17:24:05 +08:00
30 lines
906 B
Cheetah
30 lines
906 B
Cheetah
{{define "head"}}
|
|
<!DOCTYPE html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
{{range $index, $meta := option . "metas"}}
|
|
<meta name="{{index $meta "name"}}" content="{{index $meta "content"}}">
|
|
{{end}}
|
|
|
|
<title>{{options . "componet_name"}}</title>
|
|
<link rel="shortcut icon" type="image/ico" href="/static/librarys/{{options . "favicon"}}">
|
|
{{range $index, $lib := option . "styles"}}
|
|
<link rel="stylesheet" type="text/css" href="/static/librarys/{{$lib}}"></link>
|
|
{{end}}
|
|
</head>
|
|
<body>
|
|
<script>
|
|
var conf = {
|
|
toolkit_view: {{conf . "route" "toolkit_view"}},
|
|
bench_data: {{option . "bench_data"}},
|
|
}
|
|
</script>
|
|
{{end}}
|
|
{{define "tail"}}
|
|
{{range $index, $lib := option . "scripts"}}
|
|
<script src="/static/librarys/{{$lib}}"></script>
|
|
{{end}}
|
|
</body>
|
|
{{end}}
|
|
|