From d6f8d43b0fc23c8cd488120d4742adf233417785 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Wed, 27 Apr 2022 11:30:01 +0100 Subject: [PATCH] Suppress footer on full-size pages (#7631) GitOrigin-RevId: 0db7ec4de9b087adc093d5ef8e1af4fc8f0810e8 --- services/web/app/views/project/editor/new_from_template.pug | 4 ++++ services/web/app/views/project/token/access.pug | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/services/web/app/views/project/editor/new_from_template.pug b/services/web/app/views/project/editor/new_from_template.pug index 173b17d48a..2b054bbd3f 100644 --- a/services/web/app/views/project/editor/new_from_template.pug +++ b/services/web/app/views/project/editor/new_from_template.pug @@ -1,5 +1,9 @@ extends ../../layout-marketing +block vars + - var suppressFooter = true + - var suppressSkipToContent = true + block content .editor.full-size .loading-screen() diff --git a/services/web/app/views/project/token/access.pug b/services/web/app/views/project/token/access.pug index 7e8b45d0d4..d5b41a1157 100644 --- a/services/web/app/views/project/token/access.pug +++ b/services/web/app/views/project/token/access.pug @@ -1,5 +1,9 @@ extends ../../layout +block vars + - var suppressFooter = true + - var suppressSkipToContent = true + block content script(type="template", id="overleaf-token-access-data")!= StringHelper.stringifyJsonForScript({ postUrl: postUrl, csrfToken: csrfToken})