Skip to content

feat: add filename-based stream support and stream display names#306

Merged
rochacbruno merged 1 commit intomainfrom
feat/filename-based-streams
Jul 21, 2025
Merged

feat: add filename-based stream support and stream display names#306
rochacbruno merged 1 commit intomainfrom
feat/filename-based-streams

Conversation

@rochacbruno
Copy link
Copy Markdown
Owner

@rochacbruno rochacbruno commented Jul 21, 2025

Summary

  • Implement filename patterns for stream assignment (stream-date-slug and stream-S-slug formats)
  • Add stream_display_name template function for user-friendly stream names
  • Support stream display names configuration in marmite.yaml

Changes

  • Enhanced content parsing to extract streams from filename patterns
  • Added StreamConfig struct and streams configuration support
  • Implemented stream_display_name Tera template function
  • Updated documentation with comprehensive examples and guides
  • Added example content demonstrating filename-based streams
  • Updated templates to use friendly display names throughout
  • Maintained full backward compatibility with existing frontmatter streams

Test plan

  • Code passes mask fmt and mask check
  • Example site builds successfully with new filename patterns
  • Stream display names work correctly in templates
  • Backward compatibility maintained for existing frontmatter streams
  • Documentation updated with comprehensive examples

🤖 Generated with Claude Code

Closes #293

- Implement filename patterns for stream assignment (stream-date-slug and stream-S-slug)
- Add stream_display_name template function for friendly names
- Support stream display names configuration in marmite.yaml
- Update documentation with comprehensive stream configuration examples
- Add example content demonstrating filename-based streams
- Update templates to use friendly display names
- Enhance content parsing to extract streams from filenames
- Maintain backward compatibility with existing frontmatter streams

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@rochacbruno rochacbruno merged commit cc1f2e0 into main Jul 21, 2025
3 checks passed
@rochacbruno rochacbruno deleted the feat/filename-based-streams branch July 24, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC: Filename based streams

1 participant