[ci skip] Update the site-navigation partial
This commit is contained in:
parent
2644d68db3
commit
8fada916f2
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
<div class="flex-l justify-between items-center center b">
|
||||
<a href="{{ .Site.Home.RelPermalink }}" class="site-logo f3 fw4 hover-white no-underline white-90 dib">
|
||||
{{ with .Site.Params.site_logo }}
|
||||
<img src="{{ . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}">
|
||||
<img src="{{ relURL . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}">
|
||||
{{ else }}
|
||||
{{ .Site.Title }}
|
||||
{{ end }}
|
||||
|
@ -12,10 +12,10 @@
|
|||
{{ if .Site.Menus.main }}
|
||||
<input class="main-menu-button" type="checkbox" id="main-menu-button" />
|
||||
<label class="main-menu-label" for="main-menu-button"><span class="main-menu-icon"></span></label>
|
||||
<ul class="main-menu-list pl0 mr3">
|
||||
<ul class="{{ cond (eq $.Site.Language.LanguageDirection "rtl") "pr0 ml3" "pl0 mr3" }}">
|
||||
{{ range .Site.Menus.main }}
|
||||
<li class="list f5 f4-ns fw4 dib pr3">
|
||||
<a class="hover-white no-underline white-90 fw4" href="{{ .URL }}" title="{{ .Name }} page">
|
||||
<a class="hover-white no-underline white-90 fw4" href="{{ .URL }}" title="{{ i18n "pageTitle" . }}">
|
||||
{{ .Name }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Reference in a new issue