diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 9dfd506d..0ac2dec7 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -86,8 +86,9 @@

{fmt}

Small, safe and fast formatting library

+ {% set name = 'fmt' if version.split('.')[0]|int >= 3 else 'cppformat' %} + href="{{download_url}}/{{version}}/{{name}}-{{version}}.zip"> Download