This is an automated email from the git hooks/post-receive script.
meskio pushed a commit to branch main in repository bridgedb.
commit 777d2bf31a12b7ea0f1d639350ca139c820135d2 Author: kez kez@torproject.org AuthorDate: Wed Jun 1 18:12:21 2022 -0700
Add subtitle --- frontend/content/bridges/contents.lr | 4 +++- frontend/content/captcha/contents.lr | 2 ++ frontend/content/contents.lr | 2 ++ frontend/content/howto/contents.lr | 2 ++ frontend/content/options/contents.lr | 4 +++- frontend/models/page.ini | 7 ++++++- frontend/templates/homepage.html | 3 +++ 7 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/frontend/content/bridges/contents.lr b/frontend/content/bridges/contents.lr index 92a2900..3a7e3ff 100644 --- a/frontend/content/bridges/contents.lr +++ b/frontend/content/bridges/contents.lr @@ -8,6 +8,8 @@ _template: bridges.html --- title: BridgeDB --- +subtitle: Bridges +--- path_bar: Get Bridges! --- html: hero-bridge-lines.html @@ -24,4 +26,4 @@ Another way to get bridges is to send an email to [bridges@torproject.org](mailt
###My bridges don't work! I need help!
-If your Tor Browser cannot connect, please take a look at the [Tor Browser Manual](https://tb-manual.torproject.org/circumvention/) and our [Support Portal](https://support.torproject.org/#censorship). \ No newline at end of file +If your Tor Browser cannot connect, please take a look at the [Tor Browser Manual](https://tb-manual.torproject.org/circumvention/) and our [Support Portal](https://support.torproject.org/#censorship). diff --git a/frontend/content/captcha/contents.lr b/frontend/content/captcha/contents.lr index 9e3118c..bcca9f0 100644 --- a/frontend/content/captcha/contents.lr +++ b/frontend/content/captcha/contents.lr @@ -8,6 +8,8 @@ _template: bridges.html --- title: BridgeDB --- +subtitle: Bridges +--- path_bar: Get Bridges! --- html: hero-captcha.html diff --git a/frontend/content/contents.lr b/frontend/content/contents.lr index 296d9d2..7fdf83e 100644 --- a/frontend/content/contents.lr +++ b/frontend/content/contents.lr @@ -8,6 +8,8 @@ _template: jumbotron.html --- title: Get Bridges for Tor --- +subtitle: Bridges +--- html: home.html --- intro: diff --git a/frontend/content/howto/contents.lr b/frontend/content/howto/contents.lr index 60a0c4b..c8bd80c 100644 --- a/frontend/content/howto/contents.lr +++ b/frontend/content/howto/contents.lr @@ -8,6 +8,8 @@ _template: bridges.html --- title: BridgeDB --- +subtitle: Bridges +--- path_bar: Get Bridges! --- html: hero-howto.html diff --git a/frontend/content/options/contents.lr b/frontend/content/options/contents.lr index 0761dc7..f5bf9fc 100644 --- a/frontend/content/options/contents.lr +++ b/frontend/content/options/contents.lr @@ -8,6 +8,8 @@ _template: options.html --- title: BridgeDB --- +subtitle: Bridges +--- path_bar: Get Bridges! --- html: @@ -24,4 +26,4 @@ Another way to get bridges is to send an email to [bridges@torproject.org](mailt
###My bridges don't work! I need help!
-If your Tor Browser cannot connect, please take a look at the [Tor Browser Manual](https://tb-manual.torproject.org/circumvention/) and our [Support Portal](https://support.torproject.org/#censorship). \ No newline at end of file +If your Tor Browser cannot connect, please take a look at the [Tor Browser Manual](https://tb-manual.torproject.org/circumvention/) and our [Support Portal](https://support.torproject.org/#censorship). diff --git a/frontend/models/page.ini b/frontend/models/page.ini index fc8bffc..f7e416a 100644 --- a/frontend/models/page.ini +++ b/frontend/models/page.ini @@ -7,6 +7,11 @@ label = Title type = string translate = True
+[fields.subtitle] +label = Subtitle +type = string +translate = True + [fields.section] label = Section type = string @@ -36,4 +41,4 @@ type = markdown
[fields.path_bar] label = Path Bar -type = string \ No newline at end of file +type = string diff --git a/frontend/templates/homepage.html b/frontend/templates/homepage.html index e31449a..090fa6b 100644 --- a/frontend/templates/homepage.html +++ b/frontend/templates/homepage.html @@ -5,6 +5,9 @@ <div class="container bg-primary py-5"> <div class="row"> <div class="col-12 content-center pt-5"> + <div class="row"> + <h6 class="mx-auto text-white pt-3">{{ this.subtitle }}</h6> + </div> <div class="row"> <h2 class="mx-auto display-2 text-center text-white">{{ this.title }}</h2> </div>