site

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package site provides the "ctx site" command for managing the ctx.ist static site.

Currently, supports one subcommand:

  • ctx site feed: generates an Atom 1.0 feed from finalized blog posts in docs/blog/. Parses YAML frontmatter for title, date, author, and topics; extracts summary from the first paragraph after the heading. Drafts (reviewed_and_finalized != true) are skipped.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the "ctx site" parent command.

Subcommands:

  • feed: Generate an Atom 1.0 feed from blog posts

Returns:

  • *cobra.Command: Parent command with site management subcommands

Types

This section is empty.

Directories

Path Synopsis
cmd
feed
Package feed provides the "ctx site feed" subcommand.
Package feed provides the "ctx site feed" subcommand.
Package core provides shared types for the site command: Atom XML feed structures used by the feed subcommand.
Package core provides shared types for the site command: Atom XML feed structures used by the feed subcommand.
rss
Package rss generates Atom XML feeds from blog post metadata.
Package rss generates Atom XML feeds from blog post metadata.
scan
Package scan reads blog post directories, parses frontmatter, and returns sorted post metadata.
Package scan reads blog post directories, parses frontmatter, and returns sorted post metadata.

Jump to

Keyboard shortcuts

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