motorino/internal/build
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
..
blog_test.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
build.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
build_test.go feat: take the menu from the site, not from the code 2026-11-15 18:08:42 +01:00
context.go feat: take the menu from the site, not from the code 2026-11-15 18:08:42 +01:00
date.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
date_test.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
feed.go fix: find code blocks with the Markdown parser and make the escape work everywhere 2026-11-15 10:38:56 +01:00
feed_test.go fix: find code blocks with the Markdown parser and make the escape work everywhere 2026-11-15 10:38:56 +01:00
fixture_test.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
news.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
news_test.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
pages.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
robots.go feat: assemble the site from content, templates and assets 2026-11-15 09:50:58 +01:00