--- layout: default --- {% case site.quotes -%} {% when 'keys' -%} {% assign quote_key = '"' -%} {% assign quote_value = '' -%} {% when 'values' -%} {% assign quote_key = '' -%} {% assign quote_value = '"' -%} {% when false -%} {% assign quote_key = '' -%} {% assign quote_value = '' -%} {% else -%} {% assign quote_key = '"' -%} {% assign quote_value = '"' -%} {% endcase -%} {% if site.commas == false -%} {% assign comma = '' -%} {% else -%} {% assign comma = ',' -%} {% endif -%} {% if site.newtab == true -%} {% assign tab = '_blank' -%} {% else -%} {% assign tab = '_self' -%} {% endif -%}
{% for pair in site.data.json %}
{% if pair.typed -%}
{% for value in pair.value -%} {{ value }} {%- endfor %}
{{ quote_key }}{{ pair.key }}{{ quote_key }}: {{ quote_value }}{{ quote_value }} {%- elsif pair.value.first.key -%} {{ quote_key }}{{ pair.key }}{{ quote_key }}: [ {% for value in pair.value -%} {% if value.url -%}

{{ quote_key }}{{ value.key }}{{ quote_key }}: {{ quote_value }}{{ value.value }}{{ quote_value }} {%- unless forloop.last -%} {{ comma }} {%- endunless %}

{% else -%}

{{ quote_key }}{{ value.key }}{{ quote_key }}: {{ quote_value }}{{ value.value }}{{ quote_value }} {%- unless forloop.last -%} {{ comma }} {%- endunless %}

{% endif -%} {%- endfor -%} ] {%- elsif pair.value.first -%} {{ quote_key }}{{ pair.key }}{{ quote_key }}: [ {% for value in pair.value -%} {% if value.url -%}

{{ quote_value }}{{ value.value }}{{ quote_value }} {%- unless forloop.last -%} {{ comma }} {%- endunless %}

{% else -%}

{{ quote_value }}{{ value }}{{ quote_value }} {%- unless forloop.last -%} {{ comma }} {%- endunless %}

{% endif -%} {%- endfor -%} ] {%- elsif pair.url -%} {{ quote_key }}{{ pair.key }}{{ quote_key }}: {{ quote_value }}{{ pair.value }}{{ quote_value }} {%- else -%} {{ quote_key }}{{ pair.key }}{{ quote_key }}: {{ quote_value }}{{ pair.value }}{{ quote_value }} {%- endif -%} {%- unless forloop.last -%} {{ comma }} {%- endunless %}
{% endfor %}