Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
184 lines (153 sloc) 6.43 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1.0" />
<meta name="description" content="Matthew Trumbell" />
<meta name="author" content="Matthew Trumbell" />
<title>{{ page.title }}</title>
<link rel="icon" href="/img/siteicon.ico" type="image/ico" />
<link rel="shortcut icon" href="/img/siteicon.ico" />
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
<link href="/css/main.css" rel="stylesheet" />
<link href="/css/syntax.css" rel="stylesheet" />
</head>
<body data-spy="scroll" data-target="#sidebar-wrapper" data-offset="20">
<div id="fixedbg"></div>
<div id="wrapper">
<div id="sidebar-wrapper">
<ul class="sidebar-nav nav" role="navigation">
{% if page.mainpage %}
<li class="active"><a id="about-link" class="title mainpage-link" href="#about">About</a></li>
<li><a class="title mainpage-link" href="#career">Career</a></li>
<li><a class="title mainpage-link" href="#connect">Connect</a></li>
<li><a class="title" href="/blog/">Blog</a></li>
{% else %}
<li><a class="title" href="/index.html">About</a></li>
<li><a class="title" href="/index.html#career">Career</a></li>
<li><a class="title" href="/index.html#connect">Connect</a></li>
<li class="active"><a class="title" href="/blog/">Blog</a></li>
{% endif %}
</ul>
</div>
<div id="page-content-wrapper">
<div class="page-content">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="mrt-title">
<div id="sidebar-toggle-wrapper">
<a id="sidebar-toggle" href="#">
<i class="fa fa-bars fa-2x pull-left fa-border"></i>
</a>
</div>
<h1>
{% if page.is_post %}
Matt's Blog
{% else %}
{{ page.title }}
{% endif %}
</h1>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-7 col-md-9 col-sm-12 col-xs-12">
<div class="panel panel-default mrt-panel">
<div class="panel-body">
{{ content }}
<div class="mrt-section" >
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p class="utility-links"><a href="/tags.html">Tags</a>&nbsp;|&nbsp;<a href="/feed.xml">RSS</a></p>
<p class="footer"><small>
Copyright 2014 Matthew Trumbell.
This site was created with the <a href="http://getbootstrap.com/">Bootstrap</a>,
<a href="http://fontawesome.io/">FontAwesome</a>, and <a href="http://jquery.com/">JQuery</a>
libraries. It is built with <a href="http://jekyllrb.com/">Jekyll</a> (which also powers the blog)
and hosted by <a href="http://pages.github.com/">GitHub Pages</a>. The free fonts
<a href="http://fontfabric.com/bebas-neue/">Bebas Neue</a> and
<a href="http://fontfabric.com/nexa-free-font/">Nexa</a> are used throughout.
</small></p>
</div>
</div>
<div class="col-md-5">
<div class="visible-lg hidden-md hidden-sm hidden-xs">
&nbsp;
</div>
</div>
</div>
</div>
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.5.1/moment-with-langs.min.js"></script>
<script src="/js/tags.js"></script>
<script type="text/javascript">
var offset = -10;
var mainPage = false;
{% if page.mainpage %}
mainPage = true;
{% endif %}
$("#about-link").click(function(event) {
window.location = "/index.html";
return false;
});
var wrapper = $("#wrapper");
var sidebarWrapper = $("#sidebar-wrapper");
function toggleSidebar() {
var sidebarActive = sidebarWrapper.hasClass("active");
sidebarWrapper.toggleClass("active");
if (!sidebarActive) {
wrapper.toggleClass("active");
}
else {
setTimeout(function () { wrapper.toggleClass("active"); }, 300);
}
}
$('.sidebar-nav li a').click(function(event) {
if ($(this).attr("href") == "/index.html") {
return true;
}
if (mainPage && $(this).hasClass("mainpage-link")) {
toggleSidebar();
$($(this).attr('href'))[0].scrollIntoView();
scrollBy(0, -offset);
return false;
}
return true;
});
$("#sidebar-toggle").click(function(e) {
toggleSidebar();
return false;
});
var $tags = new TagManager();
$(".tags a").click(function () {
$tags.showTagPosts($(this).html());
return false;
});
$(function() {
$('img').each( function() {
var o = $(this);
if( ! o.attr('title') && o.attr('alt') ) o.attr('title', o.attr('alt') );
});
});
{% if site.production %}
<!-- Google Analytics -->
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-48089864-1', 'matthewtrumbell.com');
ga('send', 'pageview');
{% endif %}
</script>
</body>
</html>