From d330caf3a92244dec47a13f437e7fd4c04bb2652 Mon Sep 17 00:00:00 2001 From: Adrian Price-Whelan Date: Tue, 4 Jun 2019 13:06:56 -0400 Subject: [PATCH] define variable to fix download links on bottom of tutorial page --- tutorials/astropy.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tutorials/astropy.tpl b/tutorials/astropy.tpl index d303196bf..5ddb31cc0 100644 --- a/tutorials/astropy.tpl +++ b/tutorials/astropy.tpl @@ -23,6 +23,9 @@ {% block footer %} +{# Remove the exec_ prefix #} +{% set nb_name = resources.metadata.name[5:] %} + .. raw:: html