Skip to main content

read_sidecar_for_html

Function read_sidecar_for_html 

Source
pub fn read_sidecar_for_html(
    html_path: &Path,
    site_dir: &Path,
    sidecar_dir: &Path,
) -> Result<Option<HashMap<String, Value>>>
Expand description

Reads a .meta.json sidecar matching an HTML path in the site dir, looking up by the corresponding content-relative path.