Browse Source

navbar add a post icon

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
master
Toshaan Bharvani 2 years ago
parent
commit
9546edfb40
  1. 25
      themes/pel/layouts/partials/navbar.html

25
themes/pel/layouts/partials/navbar.html

@ -2,18 +2,35 @@ @@ -2,18 +2,35 @@
<div class="container">
<div class="header_section">
<div class="logo">
<img src="/img/little-blue-pengiuns.png" height="50px">
<a href="/">PowerEL</a>
<a href="/">
<img src="{{ "img/little-blue-pengiuns.png" | absURL }}" height="50px" alt="PowerEL Pengiun" title="PowerEL">
&nbsp;
PowerEL
</a>
</div>
<nav class="nav" id="nav">
<ul class="toggle">
{{ range .Site.Menus.navbar }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
<li>
<a href="{{ .URL }}">
{{ .Name }}
{{ if .Post }}
&nbsp;&nbsp;<i class="{{ .Post }}"></i>
{{ end }}
</a>
</li>
{{ end }}
</ul>
<ul class="">
{{ range .Site.Menus.navbar }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
<li>
<a href="{{ .URL }}">
{{ .Name }}
{{ if .Post }}
&nbsp;&nbsp;<i class="{{ .Post }}"></i>
{{ end }}
</a>
</li>
{{ end }}
</ul>
</nav>

Loading…
Cancel
Save