23 lines
776 B
HTML
23 lines
776 B
HTML
{{define "base"}}
|
|
<!DOCTYPE html>
|
|
<html lang="zh-CN" data-bs-theme="dark">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>{{template "title" .}}</title>
|
|
<link rel="icon" type="image/x-icon" href="/static/favicon.png">
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" />
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.css" />
|
|
{{block "styles" .}}{{end}}
|
|
</head>
|
|
|
|
<body>
|
|
{{template "header" .}} {{block "content" .}}{{end}} {{template "footer" .}}
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
{{block "scripts" .}}{{end}}
|
|
</body>
|
|
|
|
</html>
|
|
{{end}} |