Skip to content

Instantly share code, notes, and snippets.

@pmeissner
Created September 25, 2013 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmeissner/6700231 to your computer and use it in GitHub Desktop.
Save pmeissner/6700231 to your computer and use it in GitHub Desktop.
HTML login version
<!DOCTYPE html><!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"></html><![endif]--><!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"></html><![endif]--><!--[if IE 8]>
<html class="no-js lt-ie9"></html><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<title>{{ _site_name }}</title>
<meta name="description" content="{{ content|striptags|truncate:120 }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">{{ if segment_2 == slug }}
<meta property="og:title" content="{{ title }}">
<meta property="og:type" content="article">
<meta property="og:description" content="{{ content|striptags|truncate:200 }}">
<meta property="og:url" content="{{ permalink }}">
<meta property="og:image" content="{{ _site_url }}{{ transform src='{{ featured_image }}' width='1200' height='600' action='smart' }}">
<meta property="og:site_name" content="{{ _site_name }}">{{ endif }}
<link rel="icon" type="image/png" href="{{ theme:img src='favicon.png' }}">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"><!--
<link rel="alternate" type="application/rss+xml" href="feed" title="RSS feed for {{ _site_name }}">-->
<link rel="stylesheet" href="{{ theme:css src=&quot;app&quot; }}">
<script src="{{ theme:js src='vendor/custom.modernizr.js' }}"></script>
<script src="//use.typekit.net/fek7sww.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script><!--[if lt IE 9]>
<link rel="stylesheet" href="{{ theme:css src='iesucks' }}">
<script src="{{ theme:js src='respond.min.js' }}"></script><![endif]--><!--[if lt IE 8]>
<script src="http://updateyourbrowser.net/uyb.js"></script><![endif]-->
<link rel="canonical" href="{{ permalink }}">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{ google_analytics_code }}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body id="top" class="{{ if segment_1 }}{{ segment_1 }} inside{{ else }}home{{ endif }}">{{ if logged_in }}
<header id="header" role="banner"><a href="{{ _site_url }}" title="{{ _site_name }}" class="brand"><img src="{{ theme:img src='logo.png' }}" alt="{{ _theme_name }} logo"></a>
<div class="main-nav">
<nav data-magellan-expedition="fixed" 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">
<ul class="left">
<li></li>
</ul>
<ul class="right">{{ nav from="/" }}
<li data-magellan-arrival="section--{{ title|lower|slugify }}"><a href="#section--{{ title|lower|slugify }}">{{ title }}</a></li>{{ /nav }}
</ul>
</section>
</nav>
</div>
</header>
<div id="main" role="content">
<div class="content-wrapper">
<section id="section--intro" class="section section--intro">
<div class="section__content">
<div class="large-12 columns"><img src="{{ theme:img src='brandon.jpg' }}" alt="Image of Brandon" class="th"></div>
<div class="note large-4">
<h1>Welcome!</h1>
<p>Thank you for visiting my Bar Mitzvah website! Here you’ll find everything you need to know about our trip to Cuba! I’m really looking forward to celebrating with you all.</p>
<p>Havana is a beautiful city with so many interesting places to visit. Take a look at some of our favorites in the “Explore Havana” section!</p>
</div>
</div>
</section>{{ get_content from="/itinerary" }}
<section id="{{ title|lower|slugify }}" class="section section--{{ title|lower|slugify }}">
<div class="section__content">
<h1 data-magellan-destination="section--{{ title|lower|slugify }}" class="section__title">{{ title }}</h1>
<div class="section__body">
<ul class="button-group even-6 hide-for-small">{{ itinerary_grid }}
<li><a href="#" data-orbit-link="{{ it_day format='l' }}" class="button">{{ it_day format="l" }}</a></li>{{ /itinerary_grid }}
</ul>
<ul data-orbit data-options="slide_number: false;timer: false;bullets: false; navigation_arrows: false; stack_on_small: true" class="itinerary__list">{{ itinerary_grid }}
<li data-orbit-slide="{{ it_day format='l' }}">
<div class="itinerary__panel">
<h2>{{ it_day format="l" }}</h2>
<h3>{{ it_day format="F dS, Y" }}</h3>{{ it_details }}
<h4>{{ it_detail_title }}</h4>{{ it_detail_body }}
{{ /it_details }}
</div>
</li>{{ /itinerary_grid }}
</ul>
</div>
</div>
</section>{{ /get_content }}
{{ get_content from="/explore" }}
<section id="section--{{ title|lower|slugify }}" class="section section--{{ title|lower|slugify }}">
<div class="section__content">
<h1 data-magellan-destination="section--{{ title|lower|slugify }}" class="section__title">{{ title }}</h1>
<div style="text-transform: uppercase;" class="large-12 columns text-center">{{ content|widont }}</div>
<div class="section__body">{{ explore_grid }}
<div class="explore__block">
<h3>{{ explore_title }}</h3>{{ explore_body }}
</div>{{ /explore_grid }}
</div>
</div>
</section>{{ /get_content }}
{{ get_content from="/art" }}
<section id="section--{{ title|lower|slugify }}" class="section section--{{ title|lower|slugify }}">
<div class="section__content">
<h1 data-magellan-destination="section--{{ title|lower|slugify }}" class="section__title">Art Galleries &amp; Studio Tours</h1>
<div class="section__body">{{ art_grid }}
<h2>{{ art_title }}</h2>
<p class="art__description">{{ art_description }}</p>{{ art_body }}
<hr>
{{ /art_grid }}
</div>
</div>
</section>{{ /get_content }}
{{ get_content from="/rsvp" }}
<section id="section--{{ title|lower|slugify }}" class="section section--{{ title|lower|slugify }}">
<div class="section__content">
<h1 data-magellan-destination="section--{{ title|lower|slugify }}" class="section__title">Répondez s’il vous plaît</h1>
<div class="section__body">
<div id="wufoo-z7x4m1">Fill out my<a href="http://brandonsmitzva.wufoo.com/forms/z7x4m1">online form</a></div>
<script type="text/javascript">
var z7x4m1;(function(d, t) {
var s = d.createElement(t), options = {
'userName':'brandonsmitzva',
'formHash':'z7x4m1',
'autoResize':true,
'height':'597',
'async':true,
'header':'hide'};
s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
s.onload = s.onreadystatechange = function() {
var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return;
try { z7x4m1 = new WufooForm();z7x4m1.initialize(options);z7x4m1.display(); } catch (e) {}};
var scr = d.getElementsByTagName(t)[0], par = scr.parentNode; par.insertBefore(s, scr);
})(document, 'script');
</script>
</div>
</div>
</section>{{ /get_content }}
{{ get_content from="/travel" }}
<section id="section--{{ title|lower|slugify }}" class="section section--{{ title|lower|slugify }}">
<div class="section__content">
<h1 data-magellan-destination="section--{{ title|lower|slugify }}" class="section__title">{{ title }}</h1>
<div class="section__body">{{ explore_grid }}
<div class="explore__block">
<h3>{{ explore_title }}</h3>{{ explore_body }}
</div>{{ /explore_grid }}
</div>
</div>
</section>{{ /get_content }}
{{ get_content from="/contact" }}
<section id="section--{{ title|lower|slugify }}" class="section section--{{ title|lower|slugify }}">
<div class="section__content">
<h1 data-magellan-destination="section--{{ title|lower|slugify }}" class="section__title">Contact</h1>
<div class="section__body">
<p>Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Maecenas sed diam eget risus varius blandit sit amet non magna. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Cras mattis consectetur purus sit amet fermentum.</p>
</div>
</div>
</section>{{ /get_content }}
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="{{ theme:js src='brandonsmitzva-ck' }}"></script>{{ else }}
<div class="login-form">{{ member:login return="/" }}
<input id="username" type="hidden" name="username" placeholder="Username" value="admin">
<input id="password" type="password" name="password" placeholder="Password">
<input type="submit" value="Log in" class="button large">{{ /member:login }}
</div>{{ endif }}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment