You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jonathan e949cc2519 add production deployment guide 2 years ago
.github/workflows update CI for production 2 years ago
archetypes initial commit of hugo site 2 years ago
assets initial commit of hugo site 2 years ago
content update the 404'ing linux foundation link to one that works. 2 years ago
i18n add missing strings 2 years ago
layouts clean whitespace 2 years ago
resources initial commit of hugo site 2 years ago
static fixing the hawkhost logo version 2 years ago
.gitignore ignore public/ 2 years ago
CONTRIBUTING.md updat contributing guide reflecting our deployment pipeline 2 years ago
README.DEPLOY.md add production deployment guide 2 years ago
README.md add readme and contributing guides 2 years ago
config.yaml add localization to hrefs 2 years ago
find_missing_i18n_strings.py update regex to handle multiple matches per line 2 years ago
package.json fix license 2 years ago
screenshot.png add readme and contributing guides 2 years ago
setup-pages-for-supported-languages.py Create setup-pages-for-supported-languages.py 2 years ago

README.md

almalinux.org website

almalinux.org

This repository contains website source code for https://almalinux.org.

This website is built with the Hugo web framework.

For developers

To deploy local development environment, you will need following dependencies installed on your development host:

  • hugo

Executing hugo server will deploy a nearly complete, ready to go development environment.

Localization will be incomplete unless you first run find_missing_i18n_strings.py and setup-pages-for-supported-languages.py. Please do not commit the files which are output by these scripts.

Directories and modules

  • /layouts/ - Hugo HTML templates
  • /layouts/partial - commonly used template such as header and footer
  • /i18n/ - Localization files and translations
  • /static/ - static files
  • /content/ - Markdown content for pages
  • config.yaml - Hugo config
  • find_missing_i18n_strings.py - find strings used in layouts/templates which do not exist in the base language file i18n/en.json
  • setup-pages-for-supported-languages.py - create missing markdown pages for languages which do not exist. By default Hugo will return 404 for markdown content without localized pages. This script copies the English markdown to be served when translated copies are missing.

Localization and translation

AlmaLinux OS localization and translation is managed using Weblate.

To contribute translations see AlmaLinux OS localization project in Weblate.

You can request new languages to be added by creating a ticket in GitHub issues.

Translation status

Copyright (c) 2021 AlmaLinux OS Foundation