website: small fixes

This commit is contained in:
k
2024-11-25 11:28:28 +01:00
parent c8510dd45b
commit 4e9c5612ca
61 changed files with 111 additions and 1461 deletions

View File

@@ -4992,7 +4992,7 @@ function createPartialOptions(colors) {
tree: [
{
kind: "simulation",
title: "Simulation: Save In Bitcoin",
title: "Save In Bitcoin",
name: "Save In Bitcoin",
},
],
@@ -5063,6 +5063,24 @@ function createPartialOptions(colors) {
},
],
},
{
name: "Lyn Alden",
tree: [
{
name: "Analyzing Bitcoin Consensus: Risks in Protocol Upgrades",
pdf: "multi-author/bcap_v1.0.pdf",
},
],
},
{
name: "Steve Lee",
tree: [
{
name: "Analyzing Bitcoin Consensus: Risks in Protocol Upgrades",
pdf: "multi-author/bcap_v1.0.pdf",
},
],
},
],
},
{
@@ -5521,7 +5539,7 @@ export function initOptions({
title = anyPartial.title;
} else if ("pdf" in anyPartial) {
kind = "pdf";
id = `${ids.fromString(anyPartial.name)}-pdf`;
id = `${path?.at(-1)?.name || ""}-${ids.fromString(anyPartial.name)}-pdf`;
title = anyPartial.name;
anyPartial.pdf = `/assets/pdfs/${anyPartial.pdf}`;
} else if ("url" in anyPartial) {