Skip to content

Commit

Permalink
fixed bioschemas property URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
albangaignard committed Nov 1, 2023
1 parent 35dfd56 commit 8303e77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _includes/specification-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ <h5 class="modal-title" id="exampleModalLabel">Examples for all properties</h5>
{%- for prop in props_list %}
<tr>
{%- if prop.type == "bioschemas" %}
<td class="property-column"><a href="{{prop.type_url }}" target="_blank" class="bioschema">{{prop.property}}</a></td>
{% capture url %}/properties/{{ prop.property }}{% endcapture %}
<td class="property-column"><a href={{ url | relative_url }} target="_blank" class="bioschema">{{prop.property}}</a></td>
{%- elsif prop.type == "schemas.org" or prop.type == "" %}
<td class="property-column"><a href="http://schema.org/{{prop.property}}" target="_blank" class="schemaorg">{{prop.property}}</a></td>
{%- elsif prop.type == "pending" %}
Expand Down

0 comments on commit 8303e77

Please sign in to comment.