Commit 7255d7ae authored by Daniel Brötzmann's avatar Daniel Brötzmann

Update README.md and translation tools README.md

parent 224cea51
Pipeline #4262 passed with stage
in 1 second
![Build Status](https://dev.gajim.org/gajim/website-dev/badges/master/pipeline.svg)
---
# Website repository for gajim.org
This is the new [Hugo](https://gohugo.io)-powered website for gajim.org.
A preview of this site can be viewed here: http://gajim.pages.gajim.org/website-dev/
A preview of this site can be viewed here: https://devel.gajim.org/
---
......@@ -40,7 +36,7 @@ Read more at Hugo's [documentation](https://gohugo.io/overview/introduction/).
### 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/website-dev/`.
the site can be accessed under `localhost:1313`.
The theme used for gajim.org is adapted from http://themes.gohugo.io/beautifulhugo/.
......
......@@ -2,15 +2,15 @@
## Directory stucture
`./content` contains our .md source files by section:
`./content/en/` contains our .md source files by section:
* development
* download
* index (main `_index.md`, there has to be this extra subdirectory)
* post
* screenshots
* _index.md (main index)
For this example, `./content` holds a copy of our Hugo installation's `./content` directory (plus main `_index.md` in the `./content/index` subdirectory).
For this example, `./content/en/` holds a copy of our Hugo installation's `./content` directory.
## Converting md to po
......@@ -39,6 +39,6 @@ Running
./tools_i18n/i18n.sh po2md
```
will generate .md files in a newly created `./de` subdirectory. For our `download.de.po` example, the final .md file resides in `./content/download/de/_index.md`.
will generate .md files in a newly created `./de` subdirectory.
To use this in Hugo, we have to rename it to `_index.de.md` and copy it to Hugo's `content/download/_index.de.md`.
To use this in Hugo, it has to be placed in Hugo's `content/de/download/_index.de.md`.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment