Skip to content

Instantly share code, notes, and snippets.

View michaelgilley's full-sized avatar

Michael Gilley michaelgilley

View GitHub Profile
module.exports = function(grunt) {
grunt.initConfig({
/*
copy header-template.html which will have placeholders for injecting css,js
*/
copy: {
main: {
files: [
@michaelgilley
michaelgilley / foundation_structure_nav.html
Last active December 17, 2015 13:29
Example of how to build a Top Bar navigation for the Foundation 4.x framework in Expression Engine using Structure.
<nav class="top-bar">
<ul class="title-area">
<li class="name"></li>
<li class="toggle-topbar menu-icon">
<a href="#"><span>Menu</span></a>
</li>
</ul>
<section class="top-bar-section">
{exp:structure:nav mode="full" css_id="nav-drop-pages" css_class="left" has_children_class="has-dropdown"}
<script>