readers

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllArticles

func AllArticles[F types.Frontmatter](blogDir string, numPosts *int) ([]types.Article[F], error)

func ReadArticle

func ReadArticle[F types.Frontmatter](blogDir, basename string) (types.Article[F], error)

ReadArticle reads the Markdown file basename found inside relpath, for example '/home/user/blog/published/2025-12-03.md'. In this example, relpath is 'published' while basename is '2025-12-03.md'.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址