Truncating the dataset.notes on the dataset-page does not work.
See for example Homes Saved in the JKAN demo and for (non-)truncating: filtered dataset-page.
I fixed this through applying a different truncate mechanism from this gist. It works although not automaticcaly. You'll need to insert a 'truncate-statement' in the description manually.
{% for dataset in include.datasets %}
<dataset>
<h3><a href="{{ site.baseurl }}{{ dataset.url }}">{{ dataset.title }}</a></h3>
{{ dataset.notes | split:'<!-- break -->' | first }}
</dataset>
{% endfor %}
Truncating the
dataset.noteson the dataset-page does not work.See for example Homes Saved in the JKAN demo and for (non-)truncating: filtered dataset-page.
I fixed this through applying a different truncate mechanism from this gist. It works although not automaticcaly. You'll need to insert a 'truncate-statement' in the description manually.
{% for dataset in include.datasets %} <dataset> <h3><a href="{{ site.baseurl }}{{ dataset.url }}">{{ dataset.title }}</a></h3> {{ dataset.notes | split:'<!-- break -->' | first }} </dataset> {% endfor %}