Skip to content

Commit

Permalink
Allow DOI link to be turned into a URL automagically
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldogsbody committed Feb 26, 2024
1 parent 34e213c commit eedec09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ <h3>Available Data Files</h3>
{{ render_table(
datafiles,
titles = [('name','Name'), ('description','Description'), ('size', 'Size'), ('doi', 'DOI'), ('access_button', 'Access')],
safe_columns = ('access_button')
safe_columns = ('access_button'),
urlize_columns = ('doi')
)
}}
{% endblock %}

0 comments on commit eedec09

Please sign in to comment.