Code for https://eff.org/privacybadger.
- Install the extended version of Hugo, eg
snap install hugo --channel=extended
on Linux. - Install node and npm.
- Run
hugo serve
.
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.