-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (34 loc) · 1.66 KB
/
index.html
File metadata and controls
34 lines (34 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>基于金山文档博客系统</title>
<link rel="stylesheet" href="style.css">
<!-- <link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect x='10' y='10' width='80' height='80' fill='%23f5e0b3' stroke='%23333' stroke-width='3'/><path d='M10 10 v80 l80 -40 v-40 z' fill='none' stroke='%23333' stroke-width='3'/></svg>"> -->
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='50' height='50'><text x='50%' y='50%' dominant-baseline='middle' text-anchor='middle' font-size='80'>🌐</text></svg>">
<!-- 引入 marked 库 -->
<!-- <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> -->
<script src="marked.min.js"></script>
</head>
<body>
<!-- 导航条 -->
<nav class="navbar">
<h1 class="nav-title">基于金山文档的博客系统</h1>
<!-- <a class="nav-item active" id="home-nav">首页</a> -->
<a class="nav-item active" id="home-nav" href="#" onclick="handleHomeClick(event)">首页</a>
</nav>
<div class="main-container">
<!-- 文章概要容器 -->
<div id="blog-summaries"></div>
<!-- 个人信息侧边栏 -->
<div class="sidebar" id="personal-info">
<!-- 头像容器 -->
<div id="avatar-container"></div>
</div>
</div>
<!-- 文章详情容器 -->
<div id="blog-detail" style="display: none;"></div>
<script src="script.js"></script>
</body>
</html>