Only use link clouds for categories, tags taxonomies
This commit is contained in:
@@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
{{ partial "paige/article.html" $page }}
|
{{ partial "paige/article.html" $page }}
|
||||||
|
|
||||||
{{ if $page.Pages }}
|
{{ if or (eq $page.RelPermalink "/categories/") (eq $page.RelPermalink "/tags/") }}
|
||||||
|
{{ if $page.Pages }}
|
||||||
<div id="paige-subpages">
|
<div id="paige-subpages">
|
||||||
<ul class="list-inline text-center">
|
<ul class="list-inline text-center">
|
||||||
{{ range (sort $page.Pages "Title") }}
|
{{ range (sort $page.Pages "Title") }}
|
||||||
@@ -13,5 +14,8 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
{{ else }}
|
||||||
|
{{ partial "paige/subpages.html" $page }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user