{%- comment -%} Inserts the name of a person. Assumes that there is a variable "person" already defined. It holds a key "name" and an associated value which is pasted here verbatim. If the key is not present, an informative HTML comment will be inserted. {%- endcomment -%} {%- assign person = include.person -%} {%- if person -%} {%- if person.name -%}  {{ person.name }} {%- else -%} {%- endif -%} {%- else -%} {%- endif -%}