Skip to main content

stylesheet_links_for

Function stylesheet_links_for 

Source
pub fn stylesheet_links_for<'a>(paths: impl Iterator<Item = &'a str>) -> String
Expand description

Which stylesheets a page links — the ONE rule largo serve and largo build both apply.

Public so mime_single_source_lock holds the real convention rather than a copy: it was written twice before, so a page could be styled in development and unstyled in production.