docs: update documentation to OKF v0.1 format
This commit is contained in:
@@ -3,7 +3,7 @@ type: guide
|
||||
title: Landing Page
|
||||
description: How the public landing page renders, how the login + registration modal is opened, what each form does, and how the modal stays in sync with admin `registrationsEnabled` changes via SSE.
|
||||
tags: [guide, landing, login, register, ui, sse, bootstrap]
|
||||
timestamp: 2026-07-22T16:15:00Z
|
||||
timestamp: 2026-07-23T10:12:24Z
|
||||
---
|
||||
|
||||
# What you see
|
||||
@@ -31,6 +31,8 @@ On a fresh visit the page shows, in order:
|
||||
5. **Blog list** — `<section data-testid="landing-blog">` listing every
|
||||
row returned by `GET /api/v1/blog/posts` (only `status='published'`
|
||||
rows), or the text `No announcements yet.` when the list is empty.
|
||||
Each row is rendered by the shared `BlogPresenterComponent` with its
|
||||
title, publication date, and sanitized Markdown body, matching `/blog`.
|
||||
|
||||
# Guard
|
||||
|
||||
@@ -144,4 +146,5 @@ response to the unsafe call itself.
|
||||
- [Auth Endpoints](/api/auth.md)
|
||||
- [Database Schema Overview](/database/schema.md) (`blog_post`)
|
||||
- [Frontend Structure](/architecture/frontend-structure.md)
|
||||
- [Blog Publishing and Reading](/guides/blog.md)
|
||||
- [First-Run Bootstrap](/guides/bootstrap.md)
|
||||
|
||||
Reference in New Issue
Block a user