Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 23 Apr 06:53

Highlights

Site primitives for richer content sites

moat can now power blogs, changelogs, and knowledge-base style docs more comfortably, without needing a separate mode or custom pipeline.

Wiki links

  • [[Page Title]] links now resolve by page title, case-insensitively
  • Unknown targets render as plain text instead of broken links
  • This is included in moat@latest, so reusable docs workflows that install the latest release now pick it up automatically

Date and draft frontmatter

  • Pages can now define date and draft
  • Drafts are excluded from output, nav, search, and feeds
  • Dates support YYYY-MM-DD, YYYY-MM-DD HH:MM, and full timestamps

RSS feed support

  • Add [feed] in config.toml to generate feed.xml
  • Feed items are sorted newest first
  • Built-in layout now adds an RSS icon in topnav and feed autodiscovery metadata

Page listings and date-aware navigation

  • Templates and shortcodes can use {{ .Pages }} and {{ .SectionPages "section" }}
  • Sections with dated pages sort newest first in the sidebar
  • nav_children: false lets section index pages collapse large sections into a single nav item

Other changes

  • Built-in layouts now show formatted page dates when date is present
  • Added formatDate for custom layouts
  • Added built-in rss icon support for [[links]] and [[topnav]]
  • Fixed feed URLs double-prefixing base_path
  • Improved built-in icon alignment and topnav layout ordering
  • Updated docs Pages workflow actions to Node 24

Full changelog

v0.5.0...v0.6.0