Code for https://privacybadger.org.
- Install the extended version of Hugo version 0.55.3.
- Install node and npm. Run
npm install
to get the node dependencies. - Run
hugo serve
.
See also our Dockerfile and Travis config for how we get set up on Docker and Travis.
Frequently asked questions are stored as Markdown in content/en/faqs
. Each file holds a question, an answer, and a weight that indicates how high up the FAQ should appear on the page.
FAQ translations are stored in locale-specific content directories, defined in config.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.
A list of supported browsers and download links can be found in data/browsers.toml
.