aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 8b957db68ac3f60a27fc41fdc0604225ad820805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Homebrew webpage

The webpage uses [jekyll](https://github.com/mojombo/jekyll). The template for the index is at layouts/index.html.

## Translations
If you want to add a new translation, follow these steps:

1. In _config.yml append this:

	```
	- langcode: {the_lang_code}
	  lang_string: {the_link_string}
	```
2. Copy index.html as index_{langcode}.html
3. Change the values of the strings to the translated strings.

You can see the translated webpage by running `jekyll --server` and opening http://localhost:4000/