Skip to content

Commit

Permalink
Fix the path to script
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Sep 26, 2023
1 parent f500b1a commit 5755eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/_templates/gallery.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
.. grid:: 2 3 3 4
{% for fig in group["gallery"] %}
{% if fig["script"] is defined %}
{% set md5value = fig["script"] | filemd5 %}
{% set md5value = "../" + fig["script"] | filemd5 %}
{% set image = config.html_context["siteurl"] + "/_images/" + md5value + ".png" %}
{% set link, link_type = "gmtplot-" + md5value, "ref" %}
{% else %}
Expand Down

0 comments on commit 5755eec

Please sign in to comment.