Skip to content

Commit

Permalink
Update using the layout for 1.3 and master version
Browse files Browse the repository at this point in the history
Clarify the file that must be used for each version
  • Loading branch information
shakaran authored Nov 7, 2017
1 parent d273c83 commit a599caa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Resources/docs/layout.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Using the layout

Note: this instrucions are for [dev-master branch][4], if you are using stable version (1.3) read this ["Using the layout" for old 1.3 version][5].

In order to use the layout, your views should extend from the provided `default-layout`
```twig
{% extends 'AvanzuAdminThemeBundle:layout:default-layout.html.twig' %}
Expand Down Expand Up @@ -115,3 +117,5 @@ The blocks defined in the layout in order of appearance. Some of them do contain
[1]: http://symfony.com/doc/current/templating/overriding.html
[2]: https://github.com/avanzu/AdminThemeBundle/blob/master/README.md
[3]: https://github.com/avanzu/AdminThemeBundle/blob/master/Resources/docs/rebuild.md
[4]: https://github.com/avanzu/AdminThemeBundle/blob/master/Resources/docs/layout.md
[5]: https://github.com/avanzu/AdminThemeBundle/blob/hotfix-1.3.5/Resources/docs/layout.md

0 comments on commit a599caa

Please sign in to comment.