diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/layouts/partials/web-ring.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/web-ring.html b/themes/default/layouts/partials/web-ring.html index 8228fbd..1d163af 100644 --- a/themes/default/layouts/partials/web-ring.html +++ b/themes/default/layouts/partials/web-ring.html @@ -2,6 +2,7 @@ <web-ring> <h1>Web Ring</h1> + {{ if $feeds }} <aside> {{ range first 3 (uniq (sort $feeds "FeedDateTime" "desc")) }} <web-ring-item> @@ -33,5 +34,10 @@ </a> </web-ring-item> {{ end }} - </aside> + </aside> + {{ else }} + <footer> + <code>No content found!</code> + </footer> + {{ end }} </web-ring> |