Skip to content

Commit

Permalink
Fix bad code blocks syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bocharsky-bw committed Aug 15, 2022
1 parent 6b3ec8a commit 88bba50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfcasts/ep1/es/twig-inheritance.md
Expand Up @@ -55,7 +55,7 @@ La forma de decirle a Twig dónde poner nuestro contenido dentro de `base.html.t

Para ponerlo ahí, en nuestra plantilla, rodea todo el contenido con`{% block body %}`... y luego `{% endblock %}`.

[[ code('01d2fbf6f5') ]]
[[[ code('01d2fbf6f5') ]]]

A esto se le llama herencia de la plantilla porque estamos sobrescribiendo ese bloque `body` con este nuevo contenido. Así que ahora, cuando Twig renderice `base.html.twig`... y llegue a esta parte `block body`, va a imprimir el HTML `block body` de nuestra plantilla

Expand Down

0 comments on commit 88bba50

Please sign in to comment.