更新代码

This commit is contained in:
小赵同学 committed 2024-07-11 17:06:02 +08:00
1 parent 1ccca963f2
commit 1600a39c2c
18 files changed
+229

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="{{ or .Site.Language.LanguageCode }}" dir="{{ or .Site.Language.LanguageDirection `ltr` }}">
<head>
{{ partial "head.html" . }}
</head>
<body>
<header>
{{ partial "header.html" . }}
</header>
<main>
{{ block "main" . }}
<p>调试信息:{{ . }}</p>
{{ end }}
</main>
<footer>
{{ partial "footer.html" . }}
</footer>
</body>
</html>
+7
View File
@@ -0,0 +1,7 @@
{{ define "main" }}
<h2><a href="">123</a></h2>
<h2><a href="">123</a></h2>
<h2><a href="">123</a></h2>
<h2><a href="">123</a></h2>
<h2><a href="">123</a></h2>
{{ end }}
+3
View File
@@ -0,0 +1,3 @@
<div class="footer">
<p>© 2024 简约生活博客 | 关注我们获取更多简约生活的技巧与心得</p>
</div>
+10
View File
@@ -0,0 +1,10 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ partial "meta.html" . }}
<base href="{{ .Site.BaseURL }}">
<title> {{ .Title }} </title>
<link rel="stylesheet" href="/css/style.css">
</head>
+10
View File
@@ -0,0 +1,10 @@
<div class="header">
<div>永恒末匕</div>
<nav>123</nav>
</div>
<div class="header-banner">
<div class="">
<h1 class="title">您好,欢迎来到永恒小站</h1>
<div><span>谁说梦想只能是梦想呢?</span></div>
</div>
</div>
+3
View File
@@ -0,0 +1,3 @@
<div class="container">
</div>
Whitespace-only changes.