Skip to content

Commit cdf6d29

Browse files
committed
Use href for missing titles instead of path
1 parent 1ece545 commit cdf6d29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compile-db.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ for (const input of inputs) {
4949
if (lines.length != 0 && lines[0].startsWith("# ")) {
5050
entry.title = await marked.parseInline(lines[0].substring(2));
5151
} else {
52-
entry.title = entry.path;
52+
entry.title = entry.href;
5353
}
5454
}
5555

0 commit comments

Comments
 (0)