All files / scripts article-template.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21                                         
/**
 * @module article-template
 * @description Barrel re-export for backward compatibility.
 *
 * This file was previously a 666-line monolith. It has been decomposed
 * into focused modules under `./article-template/`:
 *
 * | Module       | Lines | Responsibility                                    |
 * |------------- |-------|---------------------------------------------------|
 * | constants.ts | ~190  | i18n lookup tables (breadcrumbs, footer, taglines) |
 * | helpers.ts   | ~145  | date formatting, sanitisation, HTML sections        |
 * | template.ts  | ~270  | main generateArticleHTML function                   |
 * | index.ts     |  ~28  | barrel re-export                                    |
 *
 * All public exports are preserved — existing consumers require no changes.
 *
 * @author Hack23 AB
 * @license Apache-2.0
 */
export { generateArticleHTML, generateEventCalendar, generateWatchSection, generateArticleLanguageSwitcher, generateSiteFooter, default } from './article-template/index.js';