Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
W
www
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 1
    • Issues 1
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PLN
  • www
  • Repository

Switch branch/tag
  • www
  • lib
  • content
  • index.ts
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    refactor(content): unify the content loaders + add a presence seam · 249b1b9c
    Phase 1 Step 5. Fold lib/utils.js (flat Markdown collections) and
    lib/livesData.js (year-foldered ParVagues gigs) into one module,
    lib/content/index.ts — two collection shapes in one entry, not one
    forced shape. Thin section wrappers (posts/hydras/poems/talks) now
    re-export from @/lib/content; the two ParVagues pages import the lives
    API from there too. Old lib/utils.js and lib/livesData.js deleted.
    
    - strip the per-file console.log noise that was in lib/utils.js;
    - getAllContentIds now returns plain string[]; the three dynamic pages
      drop the vestigial Pages-Router `.map(({params}) => params)` adapter
      for `.map((id) => ({ id }))`;
    - add lib/content/parvagues-presence.ts: a single thin seam holding the
      already-in-repo platform links, so a future tooling-emitted
      presence.json swaps in without touching components. No schema, no
      invented links, components not yet rewired (deliberate).
    
    Verified: prod build green (14 routes, all dynamic params intact);
    fresh-dev smoke 14/14.
    Co-Authored-By: 's avatarClaude Opus 4.8 (1M context) <noreply@anthropic.com>
    PLN (Algolia) authored Jun 07, 2026
    249b1b9c
index.ts 4.98 KB
EditWeb IDE
×

Replace index.ts

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.