Download:
child 39:5f5336f34d64
parent 37:5f59998fb5eb
38:cf936f5403ff
Anton Shestakov <av6@dwimlabs.net>, Fri, 17 Apr 2020 23:22:25 +0800
notfound: don't try to render breadcrumbs if repo is not found

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
templates/kit/notfound.tmpl file | annotate | diff | comparison | revisions
--- a/templates/kit/notfound.tmpl Wed Apr 15 15:20:29 2020 +0800
+++ b/templates/kit/notfound.tmpl Fri Apr 17 23:22:25 2020 +0800
@@ -7,7 +7,7 @@
<nav class="uk-navbar">
<ul class="uk-navbar-nav">
<li><a href="/">Repositories</a></li>
- {pathdef%breadcrumb}
+ {if(pathdef, '{pathdef%breadcrumb}')}
</ul>
<div class="uk-navbar-flip">