Content discovery, front-matter parsing, and site configuration helpers.
Source: target-root/usr/local/lib/solidgroundux/py/webcontent/content.py
Content discovery, front-matter parsing, and site configuration helpers.
Public functions
- section_index
- ContentItem.title
- ContentItem.summary
- ContentItem.date
- ContentItem.tags
- ContentItem.draft
- ContentItem.status
- ContentItem.hidden
- ContentItem.private
- ContentItem.featured
- ContentItem.order
- ContentItem.is_link
- ContentItem.href
- parse_front_matter
- load_site_config
- is_ignored
- load_navigation
- load_featured
- language_route
- discover_content
Public classes
Internal functions
| Function | Purpose | Arguments | Output |
|---|---|---|---|
_parse_scalar | Parse a front-matter scalar value into its structured representation. | — | — |
_indent_of | Measure the indentation of a Markdown metadata line. | — | — |
_parse_mapping | Parse a nested front-matter mapping and preserve its hierarchy. | — | — |
_base_route | Calculate the canonical public route for the chosen content item. | — | — |
_owning_navigation_item | Return the most specific main-navigation section that owns a content route. | — | — |
