From 72983551de1d36ff01da1556d33ab1671db477a9 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Wed, 20 May 2020 12:46:45 +0200 Subject: [PATCH] bugfix: condition for my profile --- src/index.pug | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/index.pug b/src/index.pug index 40a9fb8..321313a 100644 --- a/src/index.pug +++ b/src/index.pug @@ -52,8 +52,9 @@ html(lang="en") #admin(hidden).with-sidebar include page-admin.pug - #profile(hidden).no-sidebar - include page-profile.pug + if (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.uploads || (endpoints.post && endpoints.post.uploads)) + #profile(hidden).no-sidebar + include page-profile.pug if analytics each provider in analytics