Le mirroring des dépôts vers Github est maintenant natif dans Gitlab (et donc Framagit). Merci de passer à la fonction native pour que nous puissions couper notre solution maison. Détails sur https://docs.gitlab.com/ee/workflow/repository_mirroring.html#pushing-to-a-remote-repository (pensez à supprimer le webhook de notre solution maison).

Commit 0db8624a by Luc Didry

Add new theme instructions

parent 5260a694
......@@ -120,6 +120,27 @@ See https://lstu.fr/api
See the [contributing guidelines](CONTRIBUTING.md).
## Create new theme
Go to your Lstu directory and do:
carton exec ./script/lstu theme name_of_your_new_theme
It will create a skeleton in `themes` directory.
If you create a file with the same name and path as one in the default theme, it will prevail.
If you create a new file, it will be available.
If you want to translate strings from your theme (`<% l('To translate') %>`), go to your theme directory and do:
make locales
Then use the files in your theme's `lib/I18N` to translate your strings.
## Other projects dependencies
Lstu is written in Perl with the Mojolicious framework and uses the Twitter bootstrap framework to look not too ugly.
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