Skip to content

Commit d330caf

Browse files
committed
define variable to fix download links on bottom of tutorial page
1 parent 137fd0a commit d330caf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tutorials/astropy.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
{% block footer %}
2525

26+
{# Remove the exec_ prefix #}
27+
{% set nb_name = resources.metadata.name[5:] %}
28+
2629
.. raw:: html
2730

2831
<div id="spacer"></div>

0 commit comments

Comments
 (0)