Browse Source
try to block crawlers from btcpay server
fix-133-memory-crash
Dan Janosik
6 years ago
No known key found for this signature in database
GPG Key ID: C6F8CE9FFDB2CED2
2 changed files with
7 additions and
6 deletions
-
views/index.pug
-
views/layout.pug
|
|
@ -39,10 +39,11 @@ block content |
|
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -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;") |
|
|
|