File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 4
4
.author = "ZigCC",
5
5
.layout = "monthly.shtml",
6
6
.draft = false,
7
+ .custom = {
8
+ .showTocDate = false
9
+ }
7
10
---
8
11
9
12
社区内的最新进展,信息来源:[Zig NEWS](https://zig.news/top/month)、[Zig
Original file line number Diff line number Diff line change 10
10
<p :text="$page.author" id="author"></p>
11
11
</div>
12
12
<ul :loop="$page.subpages()">
13
- <a href="$loop.it.link()"><li :text="$loop.it.title"></li></a>
13
+ <a href="$loop.it.link()">
14
+ <li>
15
+ <span :if="$page.custom.getOr('showTocDate', true)">
16
+ <span :text="$loop.it.date.format('06-01-03')"></span>
17
+
18
+ </span>
19
+ <span :text="$loop.it.title"></span>
20
+ </li>
21
+ </a>
14
22
</ul>
15
23
<div class="docs" :if="$page.custom.getOr('toc', true).and($page.isSection().not())">
16
24
<h1>Table of Contents</h1>
You can’t perform that action at this time.
0 commit comments