From e0764d03c4b80b858708ef36423697bd7eb171d2 Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Tue, 19 May 2026 01:56:39 -0500 Subject: [PATCH] build: Use /en/ directory for builds --- assets/css/custom.css | 65 +++++++++++++----- content/_index.md | 4 +- content/about/donate/index.md | 30 +++++--- .../pg-home-privacy-activism.png | Bin {static => content}/pg-home-privacy-forum.png | Bin {static => content}/pg-home-privacy-news.png | Bin {static => content}/pg-home-privacy-tools.png | Bin {static => content}/pg-home-privacy-wiki.png | Bin {static => content}/pg-home-youtube.png | Bin hugo.yaml | 1 + 10 files changed, 74 insertions(+), 26 deletions(-) rename {static => content}/pg-home-privacy-activism.png (100%) rename {static => content}/pg-home-privacy-forum.png (100%) rename {static => content}/pg-home-privacy-news.png (100%) rename {static => content}/pg-home-privacy-tools.png (100%) rename {static => content}/pg-home-privacy-wiki.png (100%) rename {static => content}/pg-home-youtube.png (100%) diff --git a/assets/css/custom.css b/assets/css/custom.css index 672d5acd..2b476cac 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -253,26 +253,37 @@ p.pg\:image\:right img { } html.light { - .content :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)), - .content :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)), - .content :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)) { - color: var(--hx-color-primary-900) - } - .content :where(a):not(:where([class~=not-prose], - [class~=not-prose] *)) { - color:var(--hx-color-primary-900); + .content { + :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)), + :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)), + :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)) { + color: var(--hx-color-primary-900) + } + :where(a):not(:where([class~=not-prose], + [class~=not-prose] *)) { + color:var(--hx-color-primary-900); + } + mark { + background-color: #ffff0080; + } } } html.dark { - .content :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)), - .content :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)), - .content :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)) { - color: var(--hx-color-primary-200) - } - .content :where(a):not(:where([class~=not-prose], - [class~=not-prose] *)) { - color:var(--hx-color-primary-300); + .content { + :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)), + :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)), + :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)) { + color: var(--hx-color-primary-200) + } + :where(a):not(:where([class~=not-prose], + [class~=not-prose] *)) { + color:var(--hx-color-primary-300); + } + mark { + background-color: #4287ff4d; + color: white; + } } } @@ -299,6 +310,28 @@ a.footnote-ref { background-color: inherit; } +.content .pg\:buttons { + a { + background-color: var(--hx-color-gray-300); + color: var(--hx-color-gray-700); + text-decoration: none; + padding: 1em; + border-radius: var(--hx-radius-md); + font-weight: 600; + line-height: 4em; + } + a:hover { + background-color: var(--hx-color-gray-400); + } + a:first-of-type { + background-color: var(--hx-color-primary-900); + color: var(--hx-color-primary-100) + } + a:first-of-type:hover { + background-color: var(--hx-color-primary-800); + } +} + /*********** Activism Section ***********/ /* Activism Button Colors*/ diff --git a/content/_index.md b/content/_index.md index 2016a167..7de185fb 100644 --- a/content/_index.md +++ b/content/_index.md @@ -28,10 +28,10 @@ layout: pg-home
- Privacy Guides shield logo + Privacy Guides shield logo - Privacy Guides shield logo + Privacy Guides shield logo
diff --git a/content/about/donate/index.md b/content/about/donate/index.md index 07fea90e..ab42c18d 100644 --- a/content/about/donate/index.md +++ b/content/about/donate/index.md @@ -2,6 +2,20 @@ title: Donate description: The charitable mission of Privacy Guides relies on contributions from visitors like yourself. Anything you can do to support the project is hugely appreciated. --- + + Support our mission to defend digital rights and spread the word about mass surveillance programs and other daily privacy invasions. You can help Privacy Guides researchers, activists, and maintainers create informative content, host private digital services, and protect privacy rights at a time when the world needs it most. @@ -9,7 +23,7 @@ Support our mission to defend digital rights and spread the word about mass surv [Become a Member](https://donate.magicgrants.org/privacyguides/membership) [Become a Member (Cryptocurrency)](https://donate.magicgrants.org/privacyguides/membership) [One-Time Donation](https://donate.magicgrants.org/privacyguides/donate/privacyguides) -{ .pg:buttons } +{ .pg:buttons .pg:buttons:red } *MAGIC Grants is our fiscal host, and their custom, open-source donation platform allows you to donate to our project with **Monero**, **Litecoin (MWEB)**, **Bitcoin**, or **debit/credit card**. You can also donate using [GitHub Sponsors](https://github.com/sponsors/privacyguides).* @@ -18,19 +32,17 @@ Support our mission to defend digital rights and spread the word about mass surv {{< tabs >}} {{< tab name="Current Supporters" >}} -Thank you to these organizations who significantly support Privacy Guides.[^org-members] +Thank you to these organizations who significantly support Privacy Guides. -[^org-members]: Please contact to inquire about giving. Privacy Guides reserves the right to rescind the membership of those who are unaligned with our mission or organization at any time. Organizational members have no ability to influence what content is recommended on the Privacy Guides website. Learn more about our [donation acceptance policy](../donation-acceptance-policy/). - -[![Power Up Privacy](./power-up-privacy.webp)](https://powerupprivacy.com){rel="nofollow" target="_blank" title="Power Up Privacy"} -[![DeleteMe](./deleteme.webp)](https://joindeleteme.com){rel="nofollow" target="_blank" title="DeleteMe"} +- [![Power Up Privacy](./power-up-privacy.webp)](https://powerupprivacy.com "Power Up Privacy") +- [![DeleteMe](./deleteme.webp)](https://joindeleteme.com "DeleteMe") {{< /tab >}} {{< tab name="Past Supporters" >}} Thank you to these organizations who have substantially supported our project in the past. -- [Safing](https://safing.io){rel="nofollow" target="_blank"}: 2019 – 2021 +- [Safing](https://safing.io): 2019 – 2021 {{< /tab >}} {{< /tabs >}} @@ -60,10 +72,12 @@ It takes a lot of people and [work](https://github.com/privacyguides/privacyguid ### What is an organizational membership? -Organizational membership to Privacy Guides is open to any company, private foundation, or organization that donates at least $5,000 per year. While Privacy Guides does not endorse private companies or their products, we're grateful for their contributions. Your donation may be tax-deductible, and we will provide you with a receipt. +Organizational membership[^org-members] to Privacy Guides is open to any company, private foundation, or organization that donates at least $5,000 per year. While Privacy Guides does not endorse private companies or their products, we're grateful for their contributions. Your donation may be tax-deductible, and we will provide you with a receipt. You can become an organizational member by reaching out to for more information. +[^org-members]: Please contact to inquire about giving. Privacy Guides reserves the right to rescind the membership of those who are unaligned with our mission or organization at any time. Organizational members have no ability to influence what content is recommended on the Privacy Guides website. Learn more about our [donation acceptance policy](../donation-acceptance-policy/). + ### How are organizational members recognized? Organizational members that choose to be recognized publicly are included in our organizational members section (above), and occasionally at other opportunities where appropriate. Organizational member links include the `rel="nofollow"` attribute: We adopted this policy to screen out potential abuse of our program and site to raise the rank of third parties in search algorithms. Unfortunately, this is a growing problem for nonprofits. This was a complex decision since we know many of the sincere supporters behind these companies, but we decided that it was the best choice for us. diff --git a/static/pg-home-privacy-activism.png b/content/pg-home-privacy-activism.png similarity index 100% rename from static/pg-home-privacy-activism.png rename to content/pg-home-privacy-activism.png diff --git a/static/pg-home-privacy-forum.png b/content/pg-home-privacy-forum.png similarity index 100% rename from static/pg-home-privacy-forum.png rename to content/pg-home-privacy-forum.png diff --git a/static/pg-home-privacy-news.png b/content/pg-home-privacy-news.png similarity index 100% rename from static/pg-home-privacy-news.png rename to content/pg-home-privacy-news.png diff --git a/static/pg-home-privacy-tools.png b/content/pg-home-privacy-tools.png similarity index 100% rename from static/pg-home-privacy-tools.png rename to content/pg-home-privacy-tools.png diff --git a/static/pg-home-privacy-wiki.png b/content/pg-home-privacy-wiki.png similarity index 100% rename from static/pg-home-privacy-wiki.png rename to content/pg-home-privacy-wiki.png diff --git a/static/pg-home-youtube.png b/content/pg-home-youtube.png similarity index 100% rename from static/pg-home-youtube.png rename to content/pg-home-youtube.png diff --git a/hugo.yaml b/hugo.yaml index 772c2696..9fe73143 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -105,6 +105,7 @@ outputs: section: [HTML, RSS] defaultContentLanguage: en +defaultContentLanguageInSubdir: true languages: en: languageName: English