Sha256: bfed4148c5919410ba086c0611c2326bb07440b1382e0f2a19429a61ed805984

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 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

1 entries across 1 versions & 1 rubygems

Version Path
edge_framework-2.0.0.a template/wordpress/views/layout.twig