No description
  • HTML 45.6%
  • CSS 44.8%
  • Shell 6.8%
  • JavaScript 1.7%
  • Python 1.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeremy Soller 069af09564 Merge branch 'math-dark' into 'master'
Install MathJax for selected pages, Adjust colors for dark mode

See merge request redox-os/website!476
2026-08-23 06:50:50 -06:00
assets/css Adjust colors for dark mode 2026-08-23 08:09:59 +00:00
content Apply 1 suggestion(s) to 1 file(s) 2026-08-23 12:25:47 +00:00
layouts Install MathJax for selected pages 2026-08-23 08:09:47 +00:00
static Add July 2026 report 2026-08-11 20:42:46 -03:00
.gitignore Add PostCSS to simplify CSS 2025-08-11 20:56:59 +07:00
.gitlab-ci.yml Fix CI by skipping artifact 2025-12-11 17:05:07 +07:00
config.toml Install MathJax for selected pages 2026-08-23 08:09:47 +00:00
hugo.sh Add PostCSS to simplify CSS 2025-08-11 20:56:59 +07:00
LICENSE Update LICENSE 2016-04-01 20:32:41 -06:00
new_contribs.sh Added script that allows me to traverse the redox codebase looking for new contributors. 2017-06-08 22:38:25 +01:00
package-lock.json Fix registry 2025-08-11 21:04:33 +07:00
package.json Use CommonJS in PostCSS config to support old version 2025-08-13 09:07:49 +07:00
postcss.config.js New homepage layout 2025-09-14 23:58:40 -03:00
README.md webi MD format hyperlink fix 2025-10-05 21:21:32 +01:00

Website

This is the source for redox-os.org website.

Setup

To build this site, you must install Hugo and Nodejs and run the hugo.sh file.

Install Hugo

You can install Hugo from automated script using webi

curl -sS https://webi.sh/hugo | sh; \
source ~/.config/envman/PATH.env

Or install it manually:

  • Download the executable for your CPU architecture on this link
  • Move the extracted hugo file to the ~/.local/bin directory on your user folder
  • Verify if the ~/.local/bin is present on your PATH (run echo $PATH to verify)
  • If the ~/.local/bin directory is not present on your PATH environment variable, you must add it on the configuration file of your terminal shell

Install Nodejs

NOTE: Nodejs is only needed for PostCSS during building the site. You can skip Node.js if you only want to preview the site.

You can install Nodejs from automated script using webi

curl -sS https://webi.sh/node | sh; \
source ~/.config/envman/PATH.env

Or install it manually:

  • Download the executable for your CPU architecture on this link
  • Move the extracted node file to the ~/.local/bin directory on your user folder
  • Verify if the ~/.local/bin is present on your PATH (run echo $PATH to verify)
  • If the ~/.local/bin directory is not present on your PATH environment variable, you must add it on the configuration file of your terminal shell

Bash PATH

To add the ~/.local/bin directory on the PATH of your GNU Bash, add the following text on the end of the .bashrc file at your user folder:

export PATH=$PATH:$HOME/.local/bin

Preview

To preview the site, run the following command, wait it to finish and open the link http://localhost:1313

./hugo.sh serve

The hugo.sh is a script that enables content written for the English language webpage (in the content/ directory) to be visible in pages of other languages.

But this results in a quirk where hugo does not watch for changes in the content/ directory when you use ./hugo.sh serve command.

So, you can use the hugo serve command instead, which makes sure that content/ directory is also watched (just for when you're writing the pages).

Use the lychee tool to verify broken links, it's very advanced and fast.

Read this page to install the tool.

Customizing Bulma

The bulma.css used in this page is a trimmed version from the production CSS. We're not using the v1 version because Netsurf can't use CSS variables which v1 is heavily using it.

To add more classes from Bulma, copy the full production CSS into bulma.css then run hugo to create another trimmed version of it using PostCSS, then copy the generated bulma.css back into the repository.

Usage

Run the following command inside the repository folder:

lychee content