@use super::{header_html, footer_html}; @use crate::post::Post; @(post: Post, body: impl ToHtml) @:header_html(Some(&post.front_matter.title.clone()), None)

@post.front_matter.title

@body

@if post.front_matter.series.is_some() {

Series: @post.front_matter.series.as_ref().unwrap()

} @if post.front_matter.tags.is_some() {

Tags: @for tag in post.front_matter.tags.as_ref().unwrap() { @tag }

} @:footer_html()