2021-05-04 08:21:14 -05:00
|
|
|
<header class="{{ if .IsHome }}jumbotronContainer{{ end }}">
|
2021-01-03 14:20:32 -06:00
|
|
|
{{- partial "inject/header-before.html" . -}}
|
2021-04-13 09:04:16 -05:00
|
|
|
<div class="titleAndSearchContainer">
|
|
|
|
<div id="titleContainer">
|
2022-03-28 09:28:17 -05:00
|
|
|
{{ if not (.Site.Params.logoRightOfTitle | default false) }}
|
|
|
|
<a class="unstyledLink" href="/">
|
2022-10-16 16:34:42 -05:00
|
|
|
<img src='{{ .Site.Params.Logo | default "/logo.svg" }}' alt='{{ .Site.Params.LogoAltText | default "Logo" }}'/>
|
2022-03-28 09:28:17 -05:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
2021-12-16 05:37:20 -06:00
|
|
|
<div class="rightOfLogo">
|
2021-04-18 06:04:19 -05:00
|
|
|
<div class="titleAndHamburger">
|
2022-03-10 03:24:10 -06:00
|
|
|
<h1>
|
|
|
|
<a class="unstyledLink" href="/">{{ .Site.Title | default "Ficurinia" }}</a>
|
2022-03-28 09:28:17 -05:00
|
|
|
{{ if .Site.Params.logoRightOfTitle | default false }}
|
2022-10-16 16:34:42 -05:00
|
|
|
<img src='{{ .Site.Params.Logo | default "/logo.svg" }}' alt='{{ .Site.Params.LogoAltText | default "Logo" }}'/>
|
2022-03-28 09:28:17 -05:00
|
|
|
{{ end }}
|
2022-03-10 03:24:10 -06:00
|
|
|
</h1>
|
2021-12-16 05:37:20 -06:00
|
|
|
{{ if (.Site.Params.mobileHamburgerNav | default false) }}
|
2021-04-18 06:04:19 -05:00
|
|
|
<label id="hamburger-menu" for="main-nav-toggler">
|
|
|
|

|
|
|
|
</label>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2021-12-16 05:37:20 -06:00
|
|
|
<div id="wide_nav">
|
|
|
|
{{- partial "header_navigation.html" . -}}
|
|
|
|
</div>
|
2021-04-13 09:04:16 -05:00
|
|
|
</div>
|
2020-08-24 01:48:03 -05:00
|
|
|
</div>
|
2021-04-13 09:04:16 -05:00
|
|
|
{{ if and (.Site.Params.searchbarEverywhere | default true) (and (.Site.Params.enableSearch | default true) (not (eq .Title "Search"))) }}
|
|
|
|
{{- partial "searchbar.html" . -}}
|
|
|
|
{{ end }}
|
2020-08-24 01:48:03 -05:00
|
|
|
</div>
|
|
|
|
<div id="links">
|
2020-08-24 02:05:01 -05:00
|
|
|
{{ if .Site.Params.showRss | default true }}
|
2021-04-14 04:19:13 -05:00
|
|
|
{{- partial "iconlink" (dict "Identifier" "rss" "Name" "RSS" "URL" "/index.xml") -}}
|
2020-08-24 02:05:01 -05:00
|
|
|
{{ end }}
|
2020-08-24 01:48:03 -05:00
|
|
|
{{ range .Site.Params.links }}
|
|
|
|
{{- partial "nerdlink" . -}}
|
|
|
|
{{ end }}
|
2021-04-14 04:19:13 -05:00
|
|
|
{{ range .Site.Menus.icons }}
|
|
|
|
{{- partial "iconlink" . -}}
|
|
|
|
{{ end }}
|
2020-08-24 01:48:03 -05:00
|
|
|
</div>
|
2021-12-16 05:37:20 -06:00
|
|
|
{{ if and
|
|
|
|
(.Site.Params.enableSidebarLayout | default false)
|
|
|
|
(or
|
|
|
|
(not (.Site.Params.enableJumbotron | default false))
|
|
|
|
(not .IsHome)
|
|
|
|
)
|
|
|
|
}}
|
|
|
|
<div id="sidebar_nav">
|
|
|
|
{{- partial "header_navigation.html" . -}}
|
|
|
|
</div>
|
2021-12-16 06:29:08 -06:00
|
|
|
{{ if and .IsPage .Params.toc }}
|
|
|
|
<div class="sidebarToc">
|
|
|
|
<hr />
|
|
|
|
{{ .TableOfContents }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2021-12-16 05:37:20 -06:00
|
|
|
{{ end }}
|
2021-01-03 14:20:32 -06:00
|
|
|
{{- partial "inject/header-after.html" . -}}
|
2021-05-04 08:21:14 -05:00
|
|
|
{{- partial "jumbotron.html" . -}}
|
2020-08-24 01:48:03 -05:00
|
|
|
</header>
|