-
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.
Add header file for google analysis.
- Loading branch information
1 parent
528b7c6
commit e603347
Showing
1 changed file
with
26 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<head> | ||
{{ template "_internal/google_analytics.html" . }} | ||
{{ template "_internal/google_analytics_async.html" . }} | ||
</head> | ||
|
||
<div class="logo-wrapper"> | ||
<a href="{{ "/" | relLangURL }}" class="logo"> | ||
{{- if .Site.Params.logoTitle -}} | ||
{{ .Site.Params.logoTitle }} | ||
{{- else -}} | ||
{{ .Site.Title }} | ||
{{- end -}} | ||
</a> | ||
</div> | ||
|
||
{{ partial "header/language-selector.html" . }} | ||
|
||
<nav class="site-navbar"> | ||
<ul id="menu" class="menu"> | ||
{{ range .Site.Menus.main -}} | ||
<li class="menu-item"> | ||
<a class="menu-item-link" href="{{ .URL | safeURL }}">{{ .Name }}</a> | ||
</li> | ||
{{- end }} | ||
</ul> | ||
</nav> |