{%- assign default_paths = site.pages | map: "path" -%} {%- assign page_paths = site.header_pages | default: default_paths -%} {%- if site.favicon.enable -%} favicon {%- endif -%} {{ site.title | escape }} {%- if page_paths -%}
{%- for path in page_paths -%} {%- assign cur_page = site.pages | where: "path", path | first -%} {%- if cur_page.title and cur_page.title != '404' -%} {%- unless cur_page.path contains '/' -%} {{ cur_page.title | escape}} {%- endunless -%} {%- endif -%} {%- endfor -%}
{%- endif -%}