Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-01-31 13:46:28 +0300
committerDillon <dillonzq@outlook.com>2020-01-31 13:46:28 +0300
commit344f0a9f411a9b28d6e5732e591f26953d9c1263 (patch)
tree52ed7ce26bdcf9e40e2bd782da377e5c0c4653ca /layouts/_default/baseof.html
parent7e6236361f790ec76a1d282021e6507a8378f40f (diff)
fix(css): fix some css bugs
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 39ca8e0..cd1072b 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,13 +1,13 @@
-{{ 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 -}}
+{{- if ne .Site.Params.version "0.1.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 -}}
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
- {{- partial "head.html" . }}
+ {{- partial "head.html" . -}}
</head>
<body>
<script>
@@ -15,15 +15,17 @@
window.isDark && document.body.classList.add('dark-theme');
</script>
<div class="wrapper">
- {{ partial "header.html" . -}}
+ {{- partial "header.html" . -}}
<main class="main">
<div class="container">
- {{ block "content" . }}{{ end -}}
+ {{- block "content" . }}{{ end -}}
</div>
</main>
- {{ partial "footer.html" . -}}
- {{ partial "scripts.html" . -}}
+ {{- partial "footer.html" . -}}
+ {{- partial "scripts.html" . -}}
</div>
- <a href="#" class="dynamic-to-top" id="dynamic-to-top" data-scroll><span>&nbsp;</span></a>
+ <a href="#" class="dynamic-to-top" id="dynamic-to-top" data-scroll>
+ <span>&nbsp;</span>
+ </a>
</body>
</html> \ No newline at end of file