Sha256: 865b714c7775916bc6c0de6983a5da97317c186658712848b4442001d4894866

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 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 %}
        <div class="item">
          <a href="{{ item.get_link }}"
            {% if "current-menu-item" in item.classes %}
              class="active"
            {% endif %}>

            {{ item.title }}
          </a>
          
          {% if item.get_children %}
            <div class="dropdown">
              {% for child in item.get_children %}
                <a href="{{ child.get_link }}">{{ child.title }}</a>
              {% endfor %}
            </div>
          {% endif %}
        
        </div>
      {% 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 template/wordpress/views/layout.twig