Skip to content

Commit

Permalink
Add the DOI to the landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldogsbody committed Mar 21, 2024
1 parent 552049f commit b2be8b1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/templates/datafile.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{% extends "base.html" %}
{% block title %}{{ datafile.name }} landing page{% endblock %}
{% block content %}
<h1>{{ datafile.name }}</h1>
<h1 class="mb-1 pb-1">{{ datafile.name }}</h1>
{% if datafile.doi %}
<div class="fs-4">
<div class="fw-bold d-inline">DOI:</div>&nbsp;<div class="d-inline"><a href="https://doi.org/{{datafile.doi}}">{{ datafile.doi }}</a></div>
</div>
{% endif %}
<div class="my-4">{{ datafile.description | nl2br}}</div>
<hr>
<h3>Get access</h3>
Expand Down

0 comments on commit b2be8b1

Please sign in to comment.