summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
5428dd1)
If `recency` is `0`, then we don’t actually know when the change was
made; this is a grab‐bag for everything else within the past week.
refs,
} = result;
yield* listOfInternalLinks(refs, (link) => ({
refs,
} = result;
yield* listOfInternalLinks(refs, (link) => ({
- tag: index ? "strong" : "span",
+ tag: index == 0 ? "span" : "strong",
attributes: { "data-recency": `${index}` },
children: [
link,
attributes: { "data-recency": `${index}` },
children: [
link,
- str` `,
- rawInline`<small>(<time dateTime="${dateTime}">`,
- str`${humanReadable}`,
- rawInline`</time>)</small>`,
+ ...(index == 0 ? [] : [
+ str` `,
+ rawInline`<small>(<time dateTime="${dateTime}">`,
+ str`${humanReadable}`,
+ rawInline`</time>)</small>`,
+ ]),
],
})).children;
} else {
],
})).children;
} else {