diff --git a/docs/_includes/tutorials.html b/docs/_includes/tutorials.html index 0c503a12..24467f4d 100644 --- a/docs/_includes/tutorials.html +++ b/docs/_includes/tutorials.html @@ -1,7 +1,7 @@ {%- if include.tag %} -{%- assign tools = site.data.workflows | add_related_pages | where:"related_pages", include.tag | sort_natural: "name" %} +{%- assign tools = site.data.tutorials | add_related_pages | where:"related_pages", include.tag | sort_natural: "name" %} {%- else %} -{%- assign tools = site.data.workflows | add_related_pages | sort_natural: "name" %} +{%- assign tools = site.data.tutorials | add_related_pages | sort_natural: "name" %} {%- endif %} {%- assign country_pages = site.pages | where_exp: "item", "item.search_exclude != true" | where_exp:"item","item.national_resources != nil" %} {%- unless tools.size == 0 or tools == nil %} @@ -10,15 +10,13 @@
Workflow name (+link) | -Creation time | +Title (+link) | +GTN topic name | +Creation date | Last updated | -License | EDAM topic(s) | EDAM operation(s) | -Tag(s) | -DOI | -Source | +Resources available |
---|---|---|---|---|---|---|---|---|---|---|---|---|
- {% if tool.name != "" %}
- {{ tool.name }}
+ {% if tool.title != "" %}
+ {{ tool.title }}
{% else %}
- {{ tool.name }}
+ {{ tool.title }}
{% endif %}
|
- {{ tool.create_time }} | -{{ tool.update_time }} | -{{ tool.license }} | +{{ tool.topic_name_human }} | +{{ tool.pub_date }} | +{{ tool.mod_date }} | {% if tool.edam_topic %} {%- for topic in tool.edam_topic %} @@ -51,22 +49,10 @@ {%- endfor %} {%- endif %} | - {% if tool.tags %} {%- for tag in tool.tags %} - - {{tag}} - - {%- endfor %} {%- endif %} - | -
-
- {% if tool.doi != "null" %}
- DOI
- {% else %}
- ""
- {% endif %}
-
+ {% if tool.slides = "true" %}Slides{%- endif %}
+ {% if tool.video = "true" %}Video{%- endif %}
+ {% if tool.hands_on = "true" %}Hands-on{%- endif %}
|
- {{ tool.source }} |