Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rybakit authored Mar 13, 2018
1 parent 891adca commit dd53671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Then build the following set of templates:
{% block content %}
{{ assets.append('/js/page-header.js') }}
{% if foo is not defined %}
{% if foo is defined %}
{{ include("subpage1.html.twig") }}
{% else %}
{{ include("subpage2.html.twig") }}
Expand Down Expand Up @@ -103,7 +103,7 @@ The resulting html will be the following:
<body>
<script src="/js/layout-header.js"></script>
<script src="/js/page-header.js"></script>
<script src="/js/subpage1.js"></script>
<script src="/js/subpage2.js"></script>
<script src="/js/page-footer.js"></script>
<script src="/js/layout-footer.js"></script>
</body>
Expand Down

0 comments on commit dd53671

Please sign in to comment.