You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.4 KiB
38 lines
1.4 KiB
<head {{ with .Site.LanguageCode }}lang="{{ . }}"{{ end }}>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
|
{{ with .Site.Params.description -}}
|
|
<meta name="description" content="{{ . }}">
|
|
{{- end }}
|
|
{{ .Hugo.Generator }}
|
|
|
|
<title>{{ if not .IsHome }}{{ .Title }} —{{ end }} {{ .Site.Title }}</title>
|
|
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}assets/vendor/purecss/pure-min.css" type="text/css" />
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}assets/css/style.css" type="text/css" />
|
|
</head>
|
|
<nav>
|
|
<div class="pure-menu pure-menu-horizontal">
|
|
<a href="{{ .Site.BaseURL }}" class="pure-menu-heading pure-menu-link" title="Home">{{ .Site.Title }}</a>
|
|
<ul class="pure-menu-list">
|
|
{{ range where .Site.Pages "Type" "navLink" }}
|
|
<li class="pure-menu-list"><a href="{{ .URL }}" class="pure-menu-link" title="{{ .Title }}">{{ .Title }}</a></li>
|
|
{{ end }}
|
|
{{ range sort .Site.Params.links "priority" "desc" }}
|
|
<li class="pure-menu-list">
|
|
{{ if .image }}
|
|
<a href="{{ .url }}" target="_blank" title="{{ .title }}">
|
|
<img src="{{ .image | absURL }}" />
|
|
</a>
|
|
{{ else }}
|
|
<a href="{{ .url }}" target="_blank" class="pure-menu-link" title="{{ .title }}">
|
|
{{ .title }}
|
|
</a>
|
|
{{ end }}
|
|
</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|