Skip to content
Snippets Groups Projects
Forked from gajim / website
490 commits behind the upstream repository.

Website repository for gajim.org

This is the new Hugo-powered website for gajim.org.

A preview of this site can be viewed here: https://devel.gajim.org/


Table of Contents

Building locally

This website can be viewd and modified on your local machine. To work locally, follow the steps below:

  1. Fork, clone or download website-dev
  2. Install Hugo
  3. Preview Gajim's website locally: hugo server
  4. Add or modify content

If you want to modify files in the content directory, please change files in the en directory only. Content for other languages will be generated from our translation service (see translation).

Read more at Hugo's documentation.

Preview your site

If you clone or download this project to your local computer and run hugo server, the site can be accessed under localhost:1313.

The theme used for gajim.org is adapted from http://themes.gohugo.io/beautifulhugo/.

Translation

  • Content translation for gajim.org are managed by our translation service at translate.gajim.org. This covers most of our content, including pages and posts.
  • Menus are translated manually using config files for each language (for example menus.fr.toml for french.
  • The website's title and other locale specific configuration (e.g. date formatting) are set in languages.toml.
  • Additionally, generic strings used by our theme (e.g. page navigation, read more) are translated manually as well, using a separate yaml file for each language (for example de.yaml for german).

Read more about how the markdown translation process works.

GitLab CI

Static pages of gajim.org are built by GitLab CI, following the steps defined in .gitlab-ci.yml.

Learn more about GitLab Pages and the official documentation.