diff libervia/pages/u/page_meta.py @ 1419:6fc41f000d24

pages (blog/view, u, files/list): custom breadcrumbs: - for `blog/view`, feed is added, then post if an item is shown - for `files/list`, files server then directories (with icons) are used - for `u` we deactivate breadcrumb for now
author Goffi <goffi@goffi.org>
date Thu, 29 Apr 2021 20:51:36 +0200
parents f511f8fbbf8a
children 106bae41f5c8
line wrap: on
line diff
--- a/libervia/pages/u/page_meta.py	Thu Apr 29 20:49:32 2021 +0200
+++ b/libervia/pages/u/page_meta.py	Thu Apr 29 20:51:36 2021 +0200
@@ -40,6 +40,10 @@
         "rel": "alternate",
         "title": "{target_profile}'s blog".format(target_profile=target_profile)})
 
+def add_breadcrumb(self, request, breadcrumbs):
+    # we don't want a breadcrumb here
+    pass
+
 
 @defer.inlineCallbacks
 def prepare_render(self, request):