usechrono_tz::Tz;usescraps_libs::model::tags::Tags;/// Everything the shell needs on every page: the view nav's scrap count,
/// the tag list, whether the search UI is wired up, and the timezone that
/// commit dates render in. Built once per build and shared by every render.
pubstructSiteNav{pubscrap_count:usize,
pubtags: Tags,
pubbuild_search_index:bool,
pubtimezone: Tz,
/// A root README.md renders at its own /about/ page; the sidebar links
/// it only when the file exists.
pubhas_readme:bool,
}implSiteNav{pubfnnew(scrap_count:usize,
tags: Tags,
build_search_index:bool,
timezone: Tz,
has_readme:bool,
)-> SiteNav{
SiteNav {
scrap_count,
tags,
build_search_index,
timezone,
has_readme,}}}