aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-17 16:34:41 -0400
committertdro <tdro@noreply.example.com>2022-06-17 16:34:41 -0400
commitbb237e534bf75f1b26b0b1b3ff245af19f36cc38 (patch)
tree99542ec1c509e5ae06923e47ac98688e60bcf2de
parenta7e31ec150c409c3c4a9bd8a6503dda852a2d103 (diff)
downloadcanory-bb237e534bf75f1b26b0b1b3ff245af19f36cc38.tar.gz
canory-bb237e534bf75f1b26b0b1b3ff245af19f36cc38.tar.bz2
canory-bb237e534bf75f1b26b0b1b3ff245af19f36cc38.zip
themes/default/layouts/_default: Display not found notification
For feeds and section defaults.
-rw-r--r--themes/default/layouts/_default/feeds.html4
-rw-r--r--themes/default/layouts/_default/section.html4
2 files changed, 8 insertions, 0 deletions
diff --git a/themes/default/layouts/_default/feeds.html b/themes/default/layouts/_default/feeds.html
index 7122fde..332c455 100644
--- a/themes/default/layouts/_default/feeds.html
+++ b/themes/default/layouts/_default/feeds.html
@@ -33,6 +33,10 @@
{{ range .Paginator.Pages }}
{{ .Render "summary" }}
+ {{ else }}
+ <footer>
+ <code>No feeds found!</code>
+ </footer>
{{ end }}
{{ partial "pagination.html" . }}
diff --git a/themes/default/layouts/_default/section.html b/themes/default/layouts/_default/section.html
index 2e90d7d..2708e89 100644
--- a/themes/default/layouts/_default/section.html
+++ b/themes/default/layouts/_default/section.html
@@ -35,6 +35,10 @@
{{ range .Paginator.Pages }}
{{ .Render "summary" }}
+ {{ else }}
+ <footer>
+ <code>No messages found!</code>
+ </footer>
{{ end }}
{{ partial "pagination.html" . }}