{% capture text %} {% if include.id %} {% elsif site.docgen.error %} DocGen Error: {% raw %}{% include citation-data %} needs parameter 'id'{% endraw %} {% endif %} {% endcapture %}{{- text | strip -}}