|
- <!DOCTYPE html>
- <html lang="{{ .Site.LanguageCode }}">
- <head>
- {{ partial "head-open" . }}
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>{{ .Title }}</title>
- {{ if .Site.Params.favicon }}
- <link rel="icon" href="{{ .Site.Params.favicon | absURL }}">
- {{ end }}
- {{ partial "css" . }} {{ partial "js" . }} {{ hugo.Generator }}
- {{ with .OutputFormats.Get "RSS" }}
- <link href="{{ .RelPermalink }}" rel="alternate" type="{{ .MediaType.Type }}" title="{{ $.Site.Title }}" />
- <link href="{{ .RelPermalink }}" rel="feed" type="{{ .MediaType.Type }}" title="{{ $.Site.Title }}" />
- {{ end }}
-
-
- {{ partial "head-close" . }}
- </head>
-
- <body>
- {{ partial "body-open" . }}
- <nav>
- {{ if .Site.Menus.main }}
- <div class="left">
- {{ range sort .Site.Menus.main }}
- <a href="{{ .URL }}">{{ .Name }}</a> /
- {{ end }}
- </div>
- {{ end }}
- <a href="#">{{ .Title }}</a>
- {{ if .Site.Menus.icon }}
- <div class="right">
- {{ range sort .Site.Menus.icon }}
- <a href="{{ .URL }}"><i class="navbar-icon {{ .Name }}"></i></a>
- {{ end }}
- </div>
- {{ end }}
- </div>
- </nav>
|