Spaces:
Running
Running
thibaud frere commited on
Commit ·
0268a3e
1
Parent(s): 9b76585
fix footer numbers | fix footer title | fix pdf
Browse filesFiles changed (3)
218 unmodified lines219220221222223224225226227228229218 unmodified lines margin-bottom: 1em; }
/* Évite le double affichage des numéros: masque le marqueur natif */ .references-block li::marker { content: ''; }
.references-block a { color: var(--text-color); }58 unmodified lines596061626263646558 unmodified lines .slice(0, 120) || 'article';}
const pdfBase = titleRaw ? titleRaw : stripHtml(title);const pdfBase = titleRaw ? stripHtml(titleRaw) : stripHtml(title);const pdfFilename = `${slugify(pdfBase)}.pdf`;---<section class="hero">94 unmodified lines95969798999910010110210394 unmodified lines : (Astro.site ? new URL((fmOg ?? ogDefaultUrl), Astro.site).toString() : (fmOg ?? ogDefaultUrl));
// ---- Build citation text & BibTeX from frontmatter ----const stripHtml = (text: string) => String(text || '').replace(/<[^>]*>/g, '');const rawTitle = articleFM?.title ?? 'Untitled article';const titleFlat = String(rawTitle)const titleFlat = stripHtml(String(rawTitle)) .replace(/\\n/g, ' ') .replace(/\n/g, ' ') .replace(/\s+/g, ' ')app/src/components/Footer.astro+5
app/src/components/Hero.astro+1-1
app/src/pages/index.astro+2-1