feat(menu): no ul new line when item active with no child ; feat(fork): fork icon instead of github

This commit is contained in:
Cornic Mathieu 2016-03-21 16:58:15 +01:00
parent 40bdb505df
commit fb77b7e737
2 changed files with 4 additions and 2 deletions

View file

@ -24,8 +24,8 @@
{{with $File.Path }}
<div id="top-github-link">
<a class="github-link" href="{{ $Site.Params.editURL }}{{ $File.Dir }}{{ $File.LogicalName }}" target="blank">
<i class="fa fa-github-square"></i>
edit this page
<i class="fa fa-code-fork"></i>
Edit this page
</a>
</div>
{{ end }}

View file

@ -31,6 +31,7 @@
{{ $first.Title }}
</span>
</a>
{{ if gt .Pages.Len 1}}
<ul>
{{ range $k, $p := .Pages }}
{{ if gt $k 0 }}
@ -42,6 +43,7 @@
{{ end }}
{{ end }}
</ul>
{{ end }}
</li>
{{ end }}
{{ end }}