Created
March 28, 2024 23:43
-
-
Save dclobato/1635297237f745016d2264ba6935b33d to your computer and use it in GitHub Desktop.
Artefatos para a aula de 2024-03-28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from src.modules import bootstrap, minify | |
minificar = app.config.get("MINIFY", False) | |
if minificar: | |
minify.init_app(app) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask_bootstrap import Bootstrap5 | |
from flask_minify import Minify | |
bootstrap = Bootstrap5() | |
minify = Minify() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% from 'utils/menus.jinja2' import barra_navegacao %} | |
{{ barra_navegacao() }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment