On 11/6/18 9:54 AM, Ludwig Nussel wrote:
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.
With Jekyll I think we could manage that. F-Droid is using Weblate and Jekyll for their website, so it is at least possible to do :) Maybe we can adapt their way [0] of doing it for our purposes. [0] - https://gitlab.com/fdroid/fdroid-website/blob/master/_docs/Release_Process.m...