Updated the files per the warning's suggestions.

This commit is contained in:
Nathan Biller
2019-10-03 09:51:30 -04:00
parent 3ec8032f53
commit 1a56baa004
6 changed files with 15 additions and 10 deletions

View File

@@ -8,9 +8,9 @@
</div>
<div class="inner">
<ul class="sidebar-menu">
{{ range where .Site.RegularPages "Section" (strings.TrimSuffix "/" .Dir) }}
{{ range where .Site.RegularPages "Section" (strings.TrimSuffix "/" .File.Dir) }}
<li>
<a href="{{ .URL }}">
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</li>