Skip to content

andresbase/privacybadger-website

 
 

Repository files navigation

Privacy Badger - Website

Code for https://eff.org/privacybadger.

Development

  1. Install the extended version of Hugo, eg snap install hugo --channel=extended on Linux.
  2. Install node and npm.
  3. Run hugo serve.

Content authoring

Frequently asked questions are stored as markdown in content/faqs. Each file holds a question, an answer, and a weight that indicates how high up the FAQ should appear on the page.

Frequently asked questions can be translated by adding a language code to the filename, eg content/faqs/how-does-pb-work.fr.md. See Hugo content translation docs for more.

A list of supported browsers and download links can be found in data/browsers.toml.

Translated strings can be found in /i18n. These strings are used to render templates in the layouts directory. See Hugo's multilingual documentation for more on using translated strings.

About

Code for eff.org/privacybadger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 59.8%
  • HTML 30.1%
  • JavaScript 7.6%
  • Dockerfile 2.5%