b913a2bf90
Refs gitea:Adriano/AI-OS#310 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
27 lines
608 B
Markdown
27 lines
608 B
Markdown
# Task 12 Report — Firma autore blog pubblico
|
|
|
|
## STATUS: COMPLETATO
|
|
|
|
**Commit:** `0f2b2ba` — `feat(blog): firma autore sotto il titolo, fallback Staff InsanityLab`
|
|
|
|
---
|
|
|
|
## File modificato
|
|
|
|
- `src/pages/blog/[slug].astro`
|
|
- Import `getUsernameById` da `../../lib/auth`.
|
|
- Calcolo `author`/`byline` dopo `getPublishedBySlug` + check 404, fallback `'Staff InsanityLab'` se `author_id` è null.
|
|
- Riga meta aggiornata: `{post.published_at && fmt.format(...)} · {post.category} · di {byline}`.
|
|
|
|
---
|
|
|
|
## Build verification
|
|
|
|
`npm run build` → exit 0, `[build] Complete!`.
|
|
|
|
---
|
|
|
|
## Concern
|
|
|
|
Nessuno.
|