|
@@ -14,8 +14,9 @@ flask run
|
|
|
In teoria sto coso supporta più template ma non ho ancora finito di sistemarlo.
|
|
|
Se vuoi aggiungerne uno nuovo metti il template in `templates/flyers/nometemplate.html` e crea la directory `static/flyers/nometemplate` per i files css.
|
|
|
|
|
|
-# Come usare i tamplate esistenti
|
|
|
+## Come usare i tamplate esistenti
|
|
|
|
|
|
-Vai nel file app.py ed alla riga #13 passi, come valore di "template_name" il nome del template che vuoi utilizzare.
|
|
|
+Vai nel file app.py ed alla riga #13 passa, come valore di "template_name", il nome del template che vuoi utilizzare.
|
|
|
+I template si trovano in /templates/flyers.
|
|
|
Ad esempio:
|
|
|
template_name = 'simple_white'
|