diff --git a/pygeoapi/templates/processes/process.html b/pygeoapi/templates/processes/process.html index 73b00cb..f8f30a9 100644 --- a/pygeoapi/templates/processes/process.html +++ b/pygeoapi/templates/processes/process.html @@ -36,7 +36,15 @@ {{ input_.title|striptags|truncate }} - {{ input_.input.literalDataDomain.dataType }} + {% with literalDataDomain = input_.input.literalDataDomain %} + {% if literalDataDomain %} + {{ literalDataDomain.dataType }} + {% else %} + {% for format in input_.input.formats %} + {{ format.mimeType }}{% if not loop.last %},{% endif %} + {% endfor %} + {% endif %} + {% endwith %} {{ input_.abstract }}