This repository contains the source code for the Domum Social documentation website, built with Hugo and the Relearn theme.
Download and install Hugo 0.141.0 or newer for your operating system following the instructions.
Run hugo server in the top level of the working tree.
Open http://localhost:1313 (or the URL shown after running hugo server) in your browser.
Edit, changes you make will be updated in real time in the browser preview
We define a custom short code to link back to the base URL of the
active site. Hugo cares a lot about its base URL and in production
we use <domain>/learn as the base and it is hard to link to anything
above that root.
{{< domainroot text="link test" >}} will generate a link back to the
root without the /learn path.
{{< domainroot text="link test" path="/about">}} will link to
<domain>/about
This includes the appropriate url scheme https for the clearnet site
and http for the onion site.
Refer to the Relearn theme documentation particularly Authoring and Shortcodes to learn about available syntax.
The site uses environment-specific configuration:
- Base configuration:
config/_default/hugo.toml- Includes common options
- Uses localhost as the base URL for local development
- Clearnet:
config/clearnet/hugo.toml- Public web overrides
- Onion:
config/onion/hugo.toml- Tor hidden service overrides
This documentation is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
We welcome contributions to improve our documentation via pull request or bug reports.
Domum Social © 2025 Domum Social LLC