Skip to main content

preview_entry

Function preview_entry 

Source
pub fn preview_entry(
    corpus_name: String,
    service_name: String,
    entry_name: String,
    pool: &State<DbPool>,
) -> Result<Template, NotFound<String>>
Expand description

The per-article preview screen: renders a shell whose converted-document asset is fetched client-side from the download URL. 404 on an unknown corpus / service / document.