Skip to content

Commit

Permalink
favicon.ico
Browse files Browse the repository at this point in the history
  • Loading branch information
shlu committed Dec 13, 2024
1 parent f52846f commit e2fc2dd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
11 changes: 6 additions & 5 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<!-- _layouts/default.html -->
<!DOCTYPE html>
<html lang="zh-CN">
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ page.title }}</title>
<link rel="shortcut icon" href="/favicon.ico">
<link rel="icon" href="{{ "/assets/favicon.ico" | relative_url }}" type="image/x-icon">
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
</head>
<body>
{{ content }}
<div class="content">
{{ content }}
</div>
</body>
</html>
9 changes: 9 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}

.content {
padding: 20px;
}
File renamed without changes.

0 comments on commit e2fc2dd

Please sign in to comment.