Skip to main content

html_fallback

Function html_fallback 

Source
pub fn html_fallback<'a>(
    inputs: impl IntoIterator<Item = &'a [u8]>,
) -> Option<&'a [u8]>
Expand description

The only file among inputs with the extension html, the static output’s fallback; None with none or several.

PHP: the pathinfo($file, PATHINFO_EXTENSION) === 'html' scan at the end of Rendering::detect().