{ i18n "nav_main" . }}</a>
            {{ end }}

            {{ with .Site.GetPage "/home" }}
            {{ $pages := .Resources.ByType "page" }}

            {{ with .Site.GetPage "/blog" }}
                {{ $pages = $pages | append . }}
            {{ end }}

            {{ with .Site.GetPage "/projects" }}
                {{ $pages = $pages | append . }}
            {{ end }}

            {{ range sort $pages "Params.weight" }}
            {{ if ne .Name "contact.md" }}
            {{ if eq (os.Stat 