Commit ff7c9edf authored by key-amb's avatar key-amb
Browse files

modify link

parent d0f090d7
......@@ -31,7 +31,7 @@
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li {{ if eq $isHomePage true }}class="active"{{ end }}><a href="/">Home</a></li>
<li {{ if eq $isHomePage true }}class="active"{{ end }}><a href="{{ $baseUrl }}/">Home</a></li>
{{ if isset .Site.Params "mainMenu" }}
{{ range $item := .Site.Params.mainMenu }}
<li><a href="{{ $baseUrl }}/{{ $item }}">{{ title $item}}</a></li>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment