From a82026746dd30cc5c3e3f42c7f0dd1064700b9b6 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 3 Jun 2016 08:19:24 -0700 Subject: [PATCH] Fix download link --- doc/_templates/layout.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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