diff --git a/README.md b/README.md index ea02e90..a7f31d6 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,20 @@ -Proposition de design pour Librezo. +# Nouveau site web de Librezo [voir le rendu](http://librezo.txmn.tk) -## Build +## Utilisation -[Install Zola](https://getzola.org) +[Installez Zola](https://getzola.org) ```bash - zola serve +# tester en local +zola serve + +# compiler en démo publique +LIBREZO_WEBSITE=dev zola build + +# compiler en prod +zola build ``` ## Contribution diff --git a/templates/base.html b/templates/base.html index e29f30e..36344a3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,16 +8,18 @@ {% if page.extra.leaflet or section.extra.leaflet %}{% endif %} - + {% if get_env(name="LIBREZO_WEBSITE", default="prod") == "dev" %}{% endif %} {% block head %}{% endblock head %} + {% if get_env(name="LIBREZO_WEBSITE", default="prod") == "dev" %}

Version de développement. Pour le site officiel actuel, allez sur Librezo.fr.

fermer
+ {% endif %}