pub fn message_url_str(email: &EmailInfo, config: &Config) -> StringExpand description
Returns the relative URL string for a message, including subdirectory if applicable.
When config.current_output_subdir names the same folder the message belongs
to, the page being rendered already lives inside that folder, so the subdir
prefix is omitted (otherwise e.g. a page at 2025/index.html would link to
2025/0001.html, which the browser resolves to the non-existent
2025/2025/0001.html).