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.
 
 
 
 
 
 
benny Vasquez 2f791413df
Merge pull request #446 from wdconinc/patch-1
1 year ago
.github/workflows allow PRs for forks to make preview sites when approved (#282) 2 years ago
archetypes initial commit of hugo site 2 years ago
assets So many updates. 2 years ago
content Fixing Jack's name on all posts 1 year ago
i18n Translated using Weblate (Swedish) 1 year ago
layouts fix: consistently use quay.io/repository/almalinuxorg in link text 1 year ago
resources Compress images (#257) 2 years ago
static fixing this blog post. 1 year ago
.gitignore update gitignore 2 years ago
CONTRIBUTING.md updating the blog template to include the new social image bit. 1 year ago
README.DEPLOY.md add production deployment guide 2 years ago
README.md Update README.md 2 years ago
_redirects Announcing the election 2 years ago
config.yaml Add markdown / highlight configuration / use different style 2 years ago
find_missing_i18n_strings.py Fix i18n string parsing for non-ascii characters (#266) 2 years ago
package.json fix license 2 years ago
screenshot.png Compress images (#257) 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) 2023 AlmaLinux OS Foundation