Stephan Kulow schrieb:
Am 05.11.18 um 17:54 schrieb Alexander Graul:
Hi,
we (software.o.o maintainers) want to switch to a static site generation approach for the static parts of software.opensuse.org (distribution download pages). LCP also wants to migrate www.opensuse.org and news.opensuse.org to a static site generator, now we are looking for the right software.
We have came up with two possible generators: Hugo[0] and Jekyll[1]. Before we decide which one to use, I would like to ask about experiences with either one. As far as I know kubic.o.o, openbuildservice.org and obs-patterns.netlify.com use Jekyll. Are there any issues or things that should be known before starting a project with it? Is there anyone using Hugo who could provide an answer to the same question?
Be aware that none of these is translated - so take that into account early
Let met translate that :-) A hard requirement is that the static site generator must be able to generate localized versions of the site. We use weblate for translations¹. That normally means a process as known from eg native programs using gettext. Ie the site is written in english with translatable portions tagged. Some mechanism extracts those strings and produces the input for weblate (normally po and pot files). Weblate then commits translations back into the repo (updates po files). The site generator has to pick up those translation files to generate localized versions of the english original. Site generators that are intended for eg blogs usually use a custom approach where translators more or less manually translate english articles as a whole in a one time effort. That does not work for us. cu Ludwig [1] https://l10n.opensuse.org/ -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org