-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauthor.html
More file actions
77 lines (70 loc) · 2.79 KB
/
author.html
File metadata and controls
77 lines (70 loc) · 2.79 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>作者归档 — lyfmt's Notes</title>
<meta
name="description"
content="作者归档页,运行时从 articles.json 聚合同一作者的文章。"
/>
<link rel="stylesheet" href="./styles.css" />
<script src="./script.js" defer></script>
</head>
<body data-page="author">
<header class="site-header">
<div class="site-header__inner">
<a class="site-brand" href="./index.html">lyfmt's Notes</a>
<div class="site-header__right">
<nav class="top-nav" aria-label="Primary">
<a href="./index.html">Home</a>
<a href="./index.html#featured-post">Featured</a>
<a href="./index.html#authors">Authors</a>
<a href="./index.html#latest-posts-title">Archive</a>
</nav>
<button id="theme-toggle" type="button" aria-label="切换主题">切换主题</button>
</div>
</div>
</header>
<main class="page-shell">
<nav class="breadcrumb" aria-label="Breadcrumb">
<a href="./index.html">← 返回首页</a>
</nav>
<section class="hero" aria-labelledby="author-page-title">
<div class="hero__body">
<p class="eyebrow">Author</p>
<h1 id="author-page-title">正在加载作者…</h1>
<p id="author-page-description" class="hero__text">正在加载作者简介…</p>
</div>
</section>
<section id="author-page-stats" class="stats-row" aria-label="Author statistics" aria-live="polite" aria-busy="true">
<article class="stat-card">
<span class="stat-card__value">—</span>
<span class="stat-card__label">Posts</span>
</article>
<article class="stat-card">
<span class="stat-card__value">—</span>
<span class="stat-card__label">Sources</span>
</article>
<article class="stat-card">
<span class="stat-card__value">—</span>
<span class="stat-card__label">Updated</span>
</article>
</section>
<section class="section-head" aria-labelledby="author-posts-title">
<div>
<p class="eyebrow eyebrow--muted">Author archive</p>
<h2 id="author-posts-title">作者文章</h2>
<p class="section-copy">按时间查看该作者的文章。</p>
</div>
<p id="author-page-post-count" class="section-badge">正在加载…</p>
</section>
<section id="author-page-posts" class="card-grid" aria-live="polite" aria-busy="true">
<article class="empty-state">
<h3>正在加载文章</h3>
<p>请稍候…</p>
</article>
</section>
</main>
</body>
</html>