Browse Source

navbar add a post icon

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

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

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

Loading…
Cancel
Save