Skip to content

Instantly share code, notes, and snippets.

@jdabs
jdabs / gist:9354940
Last active August 29, 2015 13:57
Example Foundation index.html converted for use with Soholaunch
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>#title#</title>
<link rel="stylesheet" href="#relative_template_path#/css/foundation.css" />
<script src="js/vendor/modernizr.js"></script>
</head>
<body>
@jdabs
jdabs / gist:9354908
Created March 4, 2014 20:27
Foundation 5 topbar menu with Soholaunch #hmains# pound variable
<nav class="top-bar" data-topbar data-options="mobile_show_parent_link: true" role="primary">
<ul class="title-area">
<li class="name">
<h1></h1> <!--Have to have this to make menu work, even if it's empty -->
</li>
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
</ul>
<section class="top-bar-section">
#hmains#
</section>
@jdabs
jdabs / gist:9354885
Last active August 29, 2015 13:57
Head section of a Foundation template in Soholaunch with #relative_template_path# applied
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>#title#</title>
<link rel="stylesheet" href="#relative_template_path#/css/foundation.css" /> <!- Must add #relative_template_path# -->
<script src="js/vendor/modernizr.js"></script>
</head>
@jdabs
jdabs / index.html
Last active August 29, 2015 13:56
hiding sidebars/boxes in Soholaunch with a Foundation template
<!--Assuming your sidebar is completely empty (i.e. nothing is in its cell),
this will remove the sidebar and expand the content area -->
<section>
<div class="row">
<div class="large-8 columns middle">
#content#
</div>
<div class="large-4 medium-4 columns">
<div id="box-one" class="boxOne-panel">#BOX1#</div>