Sha256: b3a0b65a42e6561d1209a09e457fd473e898b4a1901a8e60bcf552df6f543c0b

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

<!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>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
edge_framework-1.4.1 template/wordpress/views/layout.twig
edge_framework-1.4.0 template/wordpress/views/layout.twig