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
  • app
  • blog
  • d
  • [slug]
  • page.js
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    blog: unlisted draft links at /blog/d/<slug>-<token> · fe6b6c16
    Drafts with a well-formed `share` token in frontmatter ship to prod at
    /blog/d/<slug>-<token>: robots noindex/nofollow, no OpenGraph, token
    re-checked at render so a guessed slug renders nothing, tokenless drafts
    get no unlisted path. Article markup factored into a shared PostArticle;
    the public listing and /blog/[slug] keep filtering drafts out.
    
    Also: static export requires at least one prerendered variant per dynamic
    route, and prod currently has zero published posts — emit a 404 sentinel
    param so the export still ships (build broke at HEAD for this reason).
    PLN (Algolia) authored Oct 06, 2026
    fe6b6c16
page.js 1.48 KB
EditWeb IDE
×

Replace page.js

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.