From b2be8b1aa858e33e148156a5b72a4949130bbb6a Mon Sep 17 00:00:00 2001 From: Mike Bennett Date: Thu, 21 Mar 2024 00:01:50 +0000 Subject: [PATCH] Add the DOI to the landing page --- app/templates/datafile.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/templates/datafile.html b/app/templates/datafile.html index d24436d..f77576b 100644 --- a/app/templates/datafile.html +++ b/app/templates/datafile.html @@ -1,7 +1,12 @@ {% extends "base.html" %} {% block title %}{{ datafile.name }} landing page{% endblock %} {% block content %} -

{{ datafile.name }}

+

{{ datafile.name }}

+{% if datafile.doi %} +
+
DOI:
  +
+{% endif %}
{{ datafile.description | nl2br}}

Get access