LoveIt/layouts/_default/baseof.html

29 lines
1.5 KiB
HTML
Raw Normal View History

2019-08-24 13:32:41 +02:00
{{ if ne .Site.Params.version "5.x" -}}
{{ errorf "\n\nThere are two possible situations that led to this error:\n 1. You haven't copied the config.toml yet. See https://github.com/dillonzq/LoveIt#installation \n 2. You have an incompatible update. See https://github.com//dillonzq/LoveIt/blob/master/CHANGELOG.md \n\n有两种可能的情况会导致这个错误发生:\n 1. 你还没有复制 config.toml 参考 https://github.com/dillonzq/LoveIt#installation \n 2. 你进行了一次不兼容的更新 参考 https://github.com//dillonzq/LoveIt/blob/master/CHANGELOG.md \n" -}}
{{ end -}}
2019-02-03 12:30:44 +01:00
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
2019-08-04 15:53:35 +02:00
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
2019-08-09 15:25:13 +02:00
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
2019-08-24 13:32:41 +02:00
{{- partial "head.html" . }}
2019-08-04 15:53:35 +02:00
</head>
<body>
<script>
2019-08-24 13:32:41 +02:00
window.isDark = (window.localStorage && window.localStorage.getItem('theme')) === 'dark';
window.isDark && document.body.classList.add('dark-theme');
</script>
2019-08-04 15:53:35 +02:00
<div class="wrapper">
2019-08-24 13:32:41 +02:00
{{ partial "header.html" . -}}
2019-08-04 15:53:35 +02:00
<main class="main">
<div class="container">
2019-08-24 13:32:41 +02:00
{{ block "content" . }}{{ end -}}
2019-08-04 15:53:35 +02:00
</div>
</main>
2019-08-24 13:32:41 +02:00
{{ partial "footer.html" . -}}
{{ partial "scripts.html" . -}}
2019-08-04 15:53:35 +02:00
</div>
2019-08-24 17:41:57 +02:00
<a href="#" class="dynamic-to-top" id="dynamic-to-top" data-scroll><span>&nbsp;</span></a>
2019-08-04 15:53:35 +02:00
</body>
2019-08-18 19:36:52 +02:00
</html>