Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reutilizar código html en la template #5

Closed
dpeite opened this issue Feb 18, 2017 · 1 comment
Closed

Reutilizar código html en la template #5

dpeite opened this issue Feb 18, 2017 · 1 comment
Assignees
Milestone

Comments

@dpeite
Copy link
Owner

dpeite commented Feb 18, 2017

Ya que el codigo está duplicado en cada fichero html, lo mejor es sacarlo y ponerlo en un fichero a parte. De esta forma solo será necesario modificar un fichero cuando queramos cambiar algo en la barra lateral por ejemplo

@dpeite dpeite added this to the Web milestone Feb 18, 2017
@dpeite dpeite self-assigned this Feb 18, 2017
@dpeite
Copy link
Owner Author

dpeite commented Feb 18, 2017

Hecho en 15e1f4a

Mas info sobre la herencia de plantillas: http://jinja.pocoo.org/docs/2.9/templates/#template-inheritance

@dpeite dpeite closed this as completed Feb 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant