Sha256: 64de6db1aa5db195b34ea386e858adeba044e3f48979c3777e2171d3158dd01b

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 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.1.0 template/wordpress/views/layout.twig