{%- if page.collection == "organization" -%} {%- if site.data.publish[page.identifier] -%} {%- assign biblio = site.data.publish[page.identifier].references | sort: "id" -%} {%- endif -%} {%- elsif page.collection == "person" -%} {%- assign biblio = site.data.biblio.references | sort: "id" -%} {%- else -%} {%- assign biblio = site.data.biblio.references | sort: "id" -%} {%- endif -%} {% if page.collection and biblio %}