Sign in

    mizchi/astra/content/frontmatter does not have a README file

    Frontmatter

    pub(all) struct Frontmatter {
    title : String?
    description : String?
    layout : String?
    sidebar : Bool
    outline : OutlineConfig?
    islands : Array[String]
    prev : NavLink?
    next : NavLink?
    image : String?
    og_type : String?
    twitter_card : String?
    ssr : Bool
    renderer : String?
    noindex : Bool
    revalidate : Int?
    date : String?
    author : String?
    tags : Array[String]
    draft : Bool
    featured : Bool
    cover_image : String?
    }

    Frontmatter parsed from markdown file

    Frontmatter::default

    fn Frontmatter::default() -> Frontmatter

    Default frontmatter
    pub(all) struct NavLink {
    text : String
    link : String
    } derive(ToJson,
    FromJson
    )

    Navigation link for prev/next

    OutlineConfig

    pub(all) struct OutlineConfig {
    level_min : Int
    level_max : Int
    } derive(ToJson,
    FromJson
    )

    Outline (table of contents) configuration

    from_cst

    Convert CST Frontmatter to Frontmatter

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io