-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
59 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,58 @@ | ||
<!-- site header bar --> | ||
<header> | ||
<section> | ||
<div class="header flex row"> | ||
<div class="header__item flex row"> | ||
<div id="logo"> | ||
{{ if .Site.Params.logo }} | ||
<a href="{{ .Site.BaseURL }}"> | ||
<img class="u-logo" src="{{ .Site.Params.logo | absURL }}" /> | ||
</a> | ||
{{ end }} | ||
</div> | ||
<a id="site__name" href="{{ .Site.BaseURL }}"> | ||
{{ .Site.Title }} | ||
</a> | ||
{{ $t := .Site.GetPage "/about" }} | ||
<a id="site__name" href="{{ $t.Permalink }}">{{ $t.Title}}</a> | ||
{{ $t := .Site.GetPage "/services" }} | ||
<a id="site__name" href="{{ $t.Permalink }}">{{ $t.Title}}</a> | ||
{{ $t := .Site.GetPage "/donate" }} | ||
<a id="site__name" href="{{ $t.Permalink }}">{{ $t.Title}}</a> | ||
</div> | ||
<div class="flex row"> | ||
<nav aria-label="page menu" class="flex row"> | ||
<ul role="menubar" class="flex row"> | ||
<li role="none"> | ||
<a class="menu__item" href="{{ .Site.BaseURL }}"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22" | ||
fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" | ||
stroke-linejoin="round"> | ||
<path | ||
d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z" /> | ||
</svg> | ||
</a> | ||
</li> | ||
{{ range .AlternativeOutputFormats -}} | ||
<li role="none"> | ||
<a class="menu__item" href="{{ .Permalink }}"> | ||
{{.Name | lower }} | ||
</a> | ||
</li> | ||
{{ end -}} | ||
</ul> | ||
</nav> | ||
</div> | ||
<section> | ||
<div class="header flex row"> | ||
<div class="dropdown-content"> | ||
<p class="suspend">Suspend</p> | ||
</div> | ||
<div class="header__item flex row"> | ||
<div class="dropdown" id="logo"> | ||
{{ if .Site.Params.logo }} | ||
<a href="{{ .Site.BaseURL }}"> | ||
<img class="u-logo" src="{{ .Site.Params.logo | absURL }}" /> | ||
</a> | ||
{{ end }} | ||
</div> | ||
</section> | ||
<a id="site__name" href="{{ .Site.BaseURL }}"> {{ .Site.Title }} </a> | ||
{{ $t := .Site.GetPage "/about" }} | ||
<a id="site__name" href="{{ $t.Permalink }}">{{ $t.Title}}</a> | ||
{{ $t := .Site.GetPage "/services" }} | ||
<a id="site__name" href="{{ $t.Permalink }}">{{ $t.Title}}</a> | ||
{{ $t := .Site.GetPage "/donate" }} | ||
<a id="site__name" href="{{ $t.Permalink }}">{{ $t.Title}}</a> | ||
</div> | ||
<div class="flex row"> | ||
<nav aria-label="page menu" class="flex row"> | ||
<ul role="menubar" class="flex row"> | ||
<li role="none"> | ||
<a class="menu__item" href="{{ .Site.BaseURL }}"> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="22" | ||
height="22" | ||
viewBox="0 0 22 22" | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-width="1.5" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
> | ||
<path | ||
d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z" | ||
/> | ||
</svg> | ||
</a> | ||
</li> | ||
{{ range .AlternativeOutputFormats -}} | ||
<li role="none"> | ||
<a class="menu__item" href="{{ .Permalink }}"> | ||
{{.Name | lower }} | ||
</a> | ||
</li> | ||
{{ end -}} | ||
</ul> | ||
</nav> | ||
</div> | ||
</div> | ||
</section> | ||
</header> |