template/wordpress/views/layout.twig in edge_framework-1.3.6 vs template/wordpress/views/layout.twig in edge_framework-1.4.0

- old
+ new

@@ -1,52 +1,51 @@ -<!DOCTYPE html> -<html {{ site.language_attributes }}> - -{% include "partials/_head.twig" %} - -<body class="{{ body_class }}"> - - <div id="main-wrapper"> - - <!-- Main Navigation Menu --> - <nav class="main-menu"> - {% for item in menu.get_items %} - <a href="{{ item.get_link }}" - {% if "current-menu-item" in item.classes %} - class="active" - {% endif %}> - - {{ item.title }} - - {% if item.get_children %} - <ul> - {% for child in item.get_children %} - <li> - <a href="{{ child.get_link }}">{{ child.title }}</a> - </li> - {% endfor %} - </ul> - {% endif %} - </a> - {% endfor %} - </nav> - - <!-- Search --> - <form method="get" action="{{ home }}" role="search"> - <input type="search" name="s" placeholder="Enter keyword"> - <input type="submit" value="Search"> - </form> - - <!-- Main Content --> - {% block content %}{% endblock %} - - <div id="footer-push"></div> - </div> - - <footer class="main-footer"> - {{ site.name }} &copy; {{ "now" | date("Y") }} - </footer> - - {% include "partials/_foot.twig" %} - -</body> +<!DOCTYPE html> +<html {{ site.language_attributes }}> + +{% include "partials/_head.twig" %} + +<body class="{{ body_class }}"> + + <div id="main-wrapper"> + + <!-- Main Navigation Menu --> + <nav class="main-menu"> + {% for item in menu.get_items %} + <a href="{{ item.get_link }}" + {% if "current-menu-item" in item.classes %} + class="active" + {% endif %}> + + {{ item.title }} + </a> + {% if item.get_children %} + <ul> + {% for child in item.get_children %} + <li> + <a href="{{ child.get_link }}">{{ child.title }}</a> + </li> + {% endfor %} + </ul> + {% endif %} + {% endfor %} + </nav> + + <!-- Search --> + <form method="get" action="{{ home }}" role="search"> + <input type="search" name="s" placeholder="Enter keyword"> + <input type="submit" value="Search"> + </form> + + <!-- Main Content --> + {% block content %}{% endblock %} + + <div id="footer-push"></div> + </div> + + <footer class="main-footer"> + {{ site.name }} &copy; {{ "now" | date("Y") }} + </footer> + + {% include "partials/_foot.twig" %} + +</body> </html> \ No newline at end of file