motorino/internal/content
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 26edf78449 feat(news): hide drafts and future posts, give the news one language
- Draft: true and a date in the future keep a post out of the pages, the lists,
  the categories and the feed. motorino build -drafts (next commit) shows them.
- news_language in site.json, and an optional Language key in a post, choose the
  language of the news pages and of the interface strings they use. The news
  still exist once, not once per language.
- New header keys Mastodon (an https address), Draft and Language; a post knows
  its reading time and whether its description was written.

Refs #9
2026-11-16 12:04:50 +01:00
..
category.go feat: load pages and news with dated paths and categories 2026-11-15 09:45:50 +01:00
category_test.go feat: load pages and news with dated paths and categories 2026-11-15 09:45:50 +01:00
helpers_test.go feat: load pages and news with dated paths and categories 2026-11-15 09:45:50 +01:00
pages.go fix: find code blocks with the Markdown parser and make the escape work everywhere 2026-11-15 10:38:56 +01:00
pages_test.go fix: close the minor findings of the first review 2026-11-15 10:32:19 +01:00
posts.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
posts_test.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00