Skip to content

Commit

Permalink
优化页面
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjia404 committed Jul 2, 2023
1 parent 89a6e7d commit f6dbcbe
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
6 changes: 4 additions & 2 deletions assets/css/all.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion templates/index/index.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{ define "index/index.tmpl" }}
<html>
<link rel="stylesheet" href="/assets/css/all.css?rev=4626">
<link rel="stylesheet" href="/assets/css/all.css?rev=4627">
<body class="loaded">
<h1>
{{.title}}
</h1>
Expand All @@ -11,6 +12,8 @@
<a href="/{{ $blog.Address }}/">{{ $blog.Title }}</a>
</p>
{{ end }}
<br>
<a href="https://github.com/chenjia404/zeronet2web">Source code</a>
</body>
</html>
{{ end }}
4 changes: 3 additions & 1 deletion templates/posts/index.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
<head>
<title>{{ .title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link rel="stylesheet" href="/assets/css/all.css?rev=4626">
<link rel="stylesheet" href="/assets/css/all.css?rev=4627">
</head>
<body class="loaded">
<h1>
{{ .title }}
</h1>
Expand All @@ -20,5 +21,6 @@ This blog has not been found, or the format is not supported,or <a href="{{.pr
<a href="?post_id={{ $v.Post_id }}">{{ $v.Title }}</a>
</p>
{{ end }}
</body>
</html>
{{ end }}
2 changes: 1 addition & 1 deletion templates/posts/post.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>{{ .title }}</title>
<link rel="stylesheet" href="/assets/css/all.css?rev=4626">
<link rel="stylesheet" href="/assets/css/all.css?rev=4627">
</head>
<h1>
{{ .title }}
Expand Down

0 comments on commit f6dbcbe

Please sign in to comment.