{%- set charset = head.charset|default('utf-8') -%} {%- set robots = head.robots|default('index,follow') -%} {%- set cache_control = head.cache_control|default("max-age=31536000") -%} {%- set initial_scale = head.initial_scale|default("1.0") -%} {%- set minimum_scale = head.minimum_scale|default("1.0") -%} {%- set maximum_scale = head.maximum_scale|default("1.0") -%} {%- set language = current_language|default('en') %} {%- set exclude = ['viewport','favicon','og','twitter'] -%} {{ head.title }} {% for key,value in head %} {%- if value is not empty and key not in exclude -%} {% endif %} {% endfor %} {%- for item in head.og %} {% for key, value in item.options %} {% endfor -%} {%- endfor -%} {%- for item in head.twitter %} {% endfor -%} {%- if head.favicon is defined -%} {%- endif %} {% for file in library_files -%} {%- if file.params is iterable -%} {%- set params_attributes = '' -%} {%- for name,value in file.params -%} {%- set params_attributes = params_attributes ~ name ~ '="' ~ value ~ '"' -%} {%- endfor -%} {%- set params_attributes = ' ' ~ params_attributes -%} {%- endif -%} {%- set async = (file.async == true) ? ' async' : '' -%} {%- if file.type == "js" -%} {% endif %} {%- if file.type == "css" -%} {% endif -%} {%- endfor -%} {% for file in template_files['js'] -%} {% endfor %} {%- for file in template_files['css'] -%} {% endfor -%} {% for file in component_files['js'] %} {%- set async = ('async' in file.params) ? 'async' : '' -%} {%- set crossorigin = ('crossorigin' in file.params) ? 'crossorigin="anonymous"' : '' -%} {% endfor -%} {% for file in component_files['css'] -%} {% endfor -%} {% for file in page_files['js'] -%} {%- endfor -%} {%- for file in page_files['css'] %} {%- endfor -%} {{- content -}}