From 0a4eb78ef06c0ed416f9e326f67a8c4a40aa1586 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Wed, 17 Apr 2024 07:54:48 +0100 Subject: [PATCH] Fixes ad issue on homepage + readme badges (#2422) Fixes broken ad layout on homepage * Removed telegram link --- README.md | 11 ++----- lnbits/core/templates/core/index.html | 44 +++++++++++++-------------- 2 files changed, 24 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 561c45a9c..e6627f20a 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,12 @@ -(BETA) - -[![license-badge]](LICENSE) [![docs-badge]][docs] - +![phase: beta](https://img.shields.io/badge/phase-beta-C41E3A) [![license-badge]](LICENSE) [![docs-badge]][docs] ![PRs: welcome](https://img.shields.io/badge/PRs-Welcome-08A04B) [](https://t.me/lnbits) [](https://opensats.org) ![Lightning network wallet](https://i.imgur.com/DeIiO0y.png) # The world's most powerful suite of bitcoin tools. - ## Run for yourself, for others, or as part of a stack. - -(Join us on [https://t.me/lnbits](https://t.me/lnbits)) - -LNbits is beta, for responsible disclosure of any concerns please contact an admin in [https://t.me/lnbits](https://t.me/lnbits) +LNbits is beta, for responsible disclosure of any concerns please contact an admin in the community chat. LNbits is a Python server that sits on top of any funding source. It can be used as: diff --git a/lnbits/core/templates/core/index.html b/lnbits/core/templates/core/index.html index c3fdac85c..c052e2bd8 100644 --- a/lnbits/core/templates/core/index.html +++ b/lnbits/core/templates/core/index.html @@ -502,29 +502,29 @@ - {% if AD_SPACE %} -
- {{ AD_SPACE_TITLE }} -
- {% for ADS in AD_SPACE %} {% set AD = ADS.split(';') %} - - - {% endfor %} -
-
- {% endif %} +{% if AD_SPACE %} +
+ {{ AD_SPACE_TITLE }} + + {% for ADS in AD_SPACE %} {% set AD = ADS.split(';') %} +
+ + + + +
+ + {% endfor %} +
+{% endif %} +