mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-05 11:29:05 -05:00
ecf5e081b5
4628b9ec2 commands: Regen CLI doc 2525f2ed0 data: Regenerate docs helper 6f5a0eb19 Add Hugo 0.30 poster image 72c3fac9e Merge branch 'chroma-next2' into next 364973d3f Fix typo in syntax highlighting. ce10cc02e Update Chroma highlighting docs 9dcc4d4dd Update robots.md 1e64cb483 Rename title of cross references' page d6dfbbc51 Add warning about MMark and TOCs e8d259d32 Fix link to subsection in page 6adead19d Merge commit '040d8d2833c26c53cf9f0e035910821ed50e3863' 040d8d283 Squashed 'themes/gohugoioTheme/' changes from cdaa89c8..6b632895 bde95d890 Add Atlas starter kit fc40d078d Remove page arg from examples of relref shortcode c578620b5 Remove page arg from examples of ref shortcode ee81931a4 Remove delimiters in YAML and TOML config examples 62d7b269f Clarify that .Lastmod automatically uses .GitInfo.AuthorDate (#226) git-subtree-dir: docs git-subtree-split: 4628b9ec2c52df4de673a4d6b9621a65d8e8f5a4
36 lines
1.3 KiB
HTML
Executable file
36 lines
1.3 KiB
HTML
Executable file
{{ $currentPage := . }}
|
|
<nav class="bg-primary-color-dark pv4 w-100" role="navigation">
|
|
|
|
<div class="center flex-ns flex-wrap items-center justify-start mw9">
|
|
|
|
<h1 class="dim f3 lh-solid ml0-ns mr0 mr4-l mv0 pl3 pl4-ns">
|
|
<a href="{{ .Site.BaseURL }}" class="link white">
|
|
HUGO
|
|
</a>
|
|
</h1>
|
|
<ul class="list ma0 pa0 dn dib-l">
|
|
{{ range .Site.Menus.global }}
|
|
<li class="f5 dib mr4" role="menuitem">
|
|
{{/* TODO: Create an "Global" active class to show which site one is currently at */}}
|
|
<a href="{{ .URL }}" class="dim link{{ if $currentPage.IsMenuCurrent "global" . }} gray {{else}} light-silver{{ end }}">
|
|
{{ .Name }}
|
|
{{/* using ".Post" from the menu system to determine if we should show an icon for external links */}}
|
|
{{ $post_status := printf "%s" .Post }}
|
|
{{ if eq $post_status "external" }}
|
|
{{ partial "svg/link-ext.svg" (dict "size" "10") }}
|
|
{{ end }}
|
|
</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
|
|
<div class="db dib-ns pl3">
|
|
{{- partial "site-search.html" . -}}
|
|
</div>
|
|
|
|
<span class="absolute mt1 mt2-l pr3 right-0 top-0">
|
|
{{- partialCached "social-follow.html" . -}}
|
|
</span>
|
|
|
|
</div>
|
|
</nav>
|