templates/project/app/main/views/main/main.html.tt in volt-0.8.5 vs templates/project/app/main/views/main/main.html.tt in volt-0.8.6

- old
+ new

@@ -1,7 +1,7 @@ <:Title> - {#template main_path, "title", {controller_group: 'main'}} + {{ template main_path, "title", {controller_group: 'main'} }} <:Body> <div class="container"> <div class="header"> <ul class="nav nav-pills pull-right"> @@ -11,18 +11,18 @@ <h3 class="text-muted"><%= config[:name] %></h3> </div> <:volt:notices /> - {#template main_path, 'body', {controller_group: 'main'}} + {{ template main_path, 'body', {controller_group: 'main'} }} <div class="footer"> <p>&copy; Company 2014</p> </div> </div> <:Nav> - <li class="{#if url.path.split('/')[1] == attrs.href.split('/')[1]}active{/}"> - <a href="{attrs.href}">{attrs.text}</a> + <li class="{{ if url.path.split('/')[1] == attrs.href.split('/')[1] }}active{{ end }}"> + <a href="{{ attrs.href }}">{{ attrs.text }}</a> </li>