0d9656d939
Using the `{{ .URL }}` token results in a warning: WARN 2019/10/13 15:12:12 Page's .URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url. Steps to reproduce ================== Follow along with the Quick Start guide at https://gohugo.io/getting-started/quick-start/ Running `hugo server -D` emits a warning that `.URL` is deprecated.
23 lines
744 B
HTML
23 lines
744 B
HTML
<nav class="pv3 ph3 ph4-ns" role="navigation">
|
|
<div class="flex-l justify-between items-center center">
|
|
<a href="{{ .Site.BaseURL }}" class="f3 fw2 hover-white no-underline white-90 dib">
|
|
{{ .Site.Title }}
|
|
</a>
|
|
<div class="flex-l items-center">
|
|
{{ partial "i18nlist.html" . }}
|
|
{{ if .Site.Menus.main }}
|
|
<ul class="pl0 mr3">
|
|
{{ range .Site.Menus.main }}
|
|
<li class="list f5 f4-ns fw4 dib pr3">
|
|
<a class="hover-white no-underline white-90" href="{{ .Permalink }}" title="{{ .Name }} page">
|
|
{{ .Name }}
|
|
</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
{{ partialCached "social-follow.html" . }}
|
|
</div>
|
|
</div>
|
|
</nav>
|