{%- assign all_pages = site.pages | concat: site.articles -%} {%- assign default_paths = all_pages | map: "path" -%} {%- assign page_paths = site.header_pages | default: default_paths -%} {{ site.title | escape }} {%- if page_paths -%}
{%- for path in page_paths -%} {%- assign my_page = all_pages | where: "path", path | first -%} {%- if my_page.title -%} {{ my_page.title | escape }} {%- endif -%} {%- endfor -%} {%- if site.github_repo -%} {%- endif -%}
{%- endif -%}