if there is no _index.md don't show parenthesis in sitemap
This commit is contained in:
parent
8674473d0c
commit
692055e7ee
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
{{ end }}
|
||||
{{ $currentFile := (printf "/%s" .File) }}
|
||||
|
||||
<div class="coretitle"><span class="supt">Sitemap⁄{{ substr $.Site.Title 0 1 }}</span>{{ substr $.Site.Title 1 }} ({{ $currentDir }})</div>
|
||||
<div class="coretitle"><span class="supt">Sitemap⁄{{ substr $.Site.Title 0 1 }}</span>{{ substr $.Site.Title 1 }} {{with $currentDir}}({{ . }}){{ end }}</div>
|
||||
|
||||
{{ $s := partialCached "scratch.html" . }}
|
||||
{{ $noTriad := (slice) }}
|
||||
|
|
Loading…
Add table
Reference in a new issue