Skip to content

Commit 6e4bf5a

Browse files
committed
Only show about when info is available.
1 parent e7fbfeb commit 6e4bf5a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/views/triplepatternfragments/fragment.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ <h3>Matches in <%= datasource.title %> for <em class="pattern"><%= query.pattern
120120

121121
<%- extensions.After %>
122122

123+
<% if (datasource.description || datasource.copyright ||
124+
datasource.license || datasource.licenseUrl) { %>
123125
<aside id="about">
124126
<h3>About <%= datasource.title %></h3>
125127
<ul>
@@ -132,3 +134,4 @@ <h3>About <%= datasource.title %></h3>
132134
%></a></li><% } %>
133135
</ul>
134136
</aside>
137+
<% } %>

0 commit comments

Comments
 (0)