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