diff --git a/hyperglass/models/config/params.py b/hyperglass/models/config/params.py index 4348ff64..1e35ba2b 100644 --- a/hyperglass/models/config/params.py +++ b/hyperglass/models/config/params.py @@ -128,6 +128,13 @@ def validate_web(cls, web: Web, info: ValidationInfo) -> Web: primary_asn=info.data.get("primary_asn", "65000") ) link.url = HttpUrl(url) + + for menu in web.menus: + menu.content = menu.content.format( + site_title=info.data.get("site_title", "hyperglass"), + org_name=info.data.get("org_name", "hyperglass"), + version=__version__, + ) return web def common_plugins(self) -> t.Tuple[Path, ...]: