@use plume_models::medias::{Media, MediaCategory}; @use templates::base; @use template_utils::*; @use routes::*; @(ctx: BaseContext, media: Media) @:base(ctx, "Media details", {}, {}, {

@i18n!(ctx.1, "Media details")

@i18n!(ctx.1, "Go back to the gallery")
@Html(media.html(ctx.0))
@media.alt_text

@i18n!(ctx.1, "Markdown code") @i18n!(ctx.1, "Copy it in your articles to insert this media.")

@media.markdown(ctx.0)
@if media.category() == MediaCategory::Image {
}
})