diff --git a/views/index.pug b/views/index.pug index 2407c0a..cd6a665 100644 --- a/views/index.pug +++ b/views/index.pug @@ -38,11 +38,12 @@ block content i(class="fas fa-code-branch mr-2") span(class="mr-2") Fork span(class="badge bg-white text-dark") #{global.sourcecodeProjectMetadata.forks_count} - - button.btn.btn-primary(type="button", class="btn btn-primary mb-1", data-toggle="modal", data-target="#exampleModalCenter") - i(class="fas fa-heart mr-2") - span Donate via - span(class="font-weight-light") BTCPay + + if (!crawlerBot) + button.btn.btn-primary(type="button", class="btn btn-primary mb-1", data-toggle="modal", data-target="#exampleModalCenter") + i(class="fas fa-heart mr-2") + span Donate via + span(class="font-weight-light") BTCPay diff --git a/views/layout.pug b/views/layout.pug index 7cb81f4..c4a4dde 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -122,7 +122,7 @@ html(lang="en") div(style="margin-bottom: 30px;") - if (config.demoSite) + if (config.demoSite && !crawlerBot) include ./includes/donation-modal.pug footer(class="footer border-top border-primary bg-dark pt-3 pb-1 px-3 text-white", style="border-width: 5px !important;")