mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2026-11-10 05:32:05 -06:00
Don't put the no_posts message inside a <ul>
This commit is contained in:
9 files changed
+108
-74
No files matched your search
@@ -10,12 +10,18 @@
|
||||
</h1>
|
||||
|
||||
<div class="taxonomy">
|
||||
<ul>
|
||||
{{ range .Data.Terms.Alphabetical }}
|
||||
<li>
|
||||
<a href="{{ .Page.Permalink }}">{{ .Page.Title | markdownify }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ with .Data.Terms.Alphabetical }}
|
||||
<ul>
|
||||
{{ range . }}
|
||||
<li>
|
||||
<a href="{{ .Page.Permalink }}">{{ .Page.Title | markdownify }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ else }}
|
||||
<div>
|
||||
{{ i18n "no_posts" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user