+globalThis.bjørnTransformEntryHTML = (document, metadata) => {
+ const LMN = Lemon.bind({ document });
+ const links = Object.entries(contentLinks.get(metadata));
+ if (links.length) {
+ document.getElementById("entry.content").appendChild(
+ LMN.footer`${LMN.nav`${[
+ LMN.h2`This post contains links.`,
+ LMN.ul`${
+ links.map(([name, href]) =>
+ LMN.li`${LMN.a.href(href)`${name}`}`
+ )
+ }`,
+ ]}`}`,
+ );
+ }
+};
+