Skip to content

Commit e6eccdd

Browse files
committed
template tweaks
1 parent f65d32d commit e6eccdd

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

templates.zip

-140 Bytes
Binary file not shown.

templates/_description_source_license.html

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,8 @@
55
{{ metadata.description_html|safe }}
66
</div>
77
{% else %}
8-
{{ metadata.description }}
8+
<h2 class="subtitle mt-4 mb-2 is-3">{{ metadata.description }}</h2>
99
{% endif %}
1010
</div>
1111
{% endif %}
12-
{% if metadata.license or metadata.license_url or metadata.source or metadata.source_url %}
13-
<p>
14-
{% if metadata.license or metadata.license_url %}Data license:
15-
{% if metadata.license_url %}
16-
<a href="{{ metadata.license_url }}">{{ metadata.license or metadata.license_url }}</a>
17-
{% else %}
18-
{{ metadata.license }}
19-
{% endif %}
20-
{% endif %}
21-
{% if metadata.source or metadata.source_url %}{% if metadata.license or metadata.license_url %}&middot;{% endif %}
22-
Data source: {% if metadata.source_url %}
23-
<a href="{{ metadata.source_url }}">
24-
{% endif %}{{ metadata.source or metadata.source_url }}{% if metadata.source_url %}</a>{% endif %}
25-
{% endif %}
26-
{% if metadata.about or metadata.about_url %}{% if metadata.license or metadata.license_url or metadata.source or metadata.source_url %}&middot;{% endif %}
27-
About: {% if metadata.about_url %}
28-
<a href="{{ metadata.about_url }}">
29-
{% endif %}{{ metadata.about or metadata.about_url }}{% if metadata.about_url %}</a>{% endif %}
30-
{% endif %}
31-
</p>
32-
{% endif %}
12+

0 commit comments

Comments
 (0)