Commit 53c202ef authored by brianmaierjr's avatar brianmaierjr
Browse files

Updated config.yml + XML Feed for RSS readers

parent 5b47aae2
The MIT License (MIT)
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
\ No newline at end of file
# Long Haul
Long Haul is a minimal jekyll theme built with COMPASS / SASS / SUSY and focuses on long form blog plosts.
## License
This is [MIT](LICENSE) with no added caveats, so feel free to use this Jekyll theme on your site without linking back to me or using a disclaimer.
If you'd like give me credit somewhere on your blog or tweet a shout out to
[@ctrunsthis](https://twitter.com/ctrunsthis), that would be pretty sweet.
name: Long Haul
desctription: A minimal, long form template for Jekyll.
description: Long Form Jekyll theme built with SASS / COMPASS / SUSY
#url: http://brianmaierjr.com/long-haul
url: http://0.0.0.0:4000/
markdown: redcarpet
pygments: true
paginate: 3
......
......@@ -4,23 +4,31 @@
<div class="footer-links">
<ul class="nolist">
<li><a href="/"><img src="/assets/img/social-icons/facebook-square.svg" alt=""></a></li>
<li><a href="/"><img src="/assets/img/social-icons/twitter.svg" alt=""></a></li>
<li><a href="/"><img src="/assets/img/social-icons/github.svg" alt=""></a></li>
<li><a href="/"><img src="/assets/img/social-icons/mail.svg" alt=""></a></li>
<li><a href="/"><img src="{{ site.url }}/assets/img/social-icons/facebook-square.svg" alt=""></a></li>
<li><a href="/"><img src="{{ site.url }}/assets/img/social-icons/twitter.svg" alt=""></a></li>
<li><a href="/"><img src="{{ site.url }}/assets/img/social-icons/github.svg" alt=""></a></li>
<li><a href="/"><img src="{{ site.url }}/assets/img/social-icons/mail.svg" alt=""></a></li>
</ul>
</div>
</div>
</div><!-- end .footer -->
<!-- Dropcap.js -->
<script src='/assets/js/dropcap.min.js'></script>
<!-- Add jQuery and other scripts -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/jquery-1.11.2.min.js"><\/script>')</script>
<script src='{{ site.url }}/assets/js/dropcap.min.js'></script>
<script src='{{ site.url }}/assets/js/responsive-nav.min.js'></script>
<script src='{{ site.url }}/assets/js/scripts.js'></script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
var dropcaps = document.querySelectorAll(".dropcap");
window.Dropcap.layout(dropcaps, 3);
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X');ga('send','pageview');
</script>
<script src='/assets/js/scripts.js'></script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" <![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9" <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ page.title }}</title>
<meta name="viewport" content="width=device-width">
<link rel="icon" type="image/x-icon" href="/assets/img/favicon.ico" />
<link rel="stylesheet" href="/assets/css/syntax.css">
<link rel="stylesheet" href="/assets/css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="{{ site.url }}/assets/img/favicon.ico" />
<!-- Come and get me RSS readers -->
<link rel="alternate" type="application/rss+xml" title="{{ site.name }}" href="{{ site.url }}/feed.xml">
<link rel="stylesheet" href="{{ site.url }}/assets/css/style.css">
<script src="{{ site.url }}/assets/js/modernizr.custom.15390.js" type="text/javascript"></script>
</head>
<body>
<div class="header">
<div class="container">
<h1 class="title"><a href="/">{{ site.name }}</a></h1>
<nav>
<nav class="nav-collapse">
<ul class="nolist">
{% for link in site.navigation %}
{% assign current = nil %}
{% if page.url contains link.url %}
{% assign current = 'current' %}
{% endif %}
{% for link in site.navigation %}{% assign current = nil %}{% if page.url contains link.url %}{% assign current = 'current' %}{% endif %}
<li class="element {% if forloop.first %}first{% endif %} {{ current }} {% if forloop.last %}last{% endif %}">
<a href="{{ link.url }}">{{ link.title }}</a>
</li>
......
{% include head.html %}
<div class="contentContainer">
<div class="container">
{{ content }}
</div>
</div>
<div class="contentContainer">
<div class="container">
{{ content }}
</div>
</div>
{% include footer.html %}
......@@ -4,7 +4,7 @@ layout: default
<div class="post">
{% if page.image %}
<div class="featuredImage">
<img src="/assets/img/{{ page.image }}" alt="" />
<img src="{{ site.url }}/assets/img/{{ page.image }}" alt="" />
</div>
{% endif %}
<h1 class="postTitle">{{ page.title }}</h1>
......@@ -16,15 +16,14 @@ layout: default
{% if page.previous.url %}
<a class="prev{% if page.previous.image %} image{% endif %}" href="{{page.previous.url}}"><span>&laquo; {{page.previous.title}}</span>
{% if page.previous.image %}
<img src="/assets/img/{{ page.previous.image }}" alt="">
<img src="{{ site.url }}/assets/img/{{ page.previous.image }}" alt="">
{% endif %}
</a>
{% endif %}
{% if page.next.url %}
<a class="next{% if page.next.image %} image{% endif %}" href="{{page.next.url}}"><span>{{page.next.title}} &raquo;</span>
{% if page.next.image %}
<img src="/assets/img/{{ page.next.image }}" alt="">
<img src="{{ site.url }}/assets/img/{{ page.next.image }}" alt="">
{% endif %}
</a>
{% endif %}
......
......@@ -37,7 +37,7 @@ Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit t
Maecenas faucibus mollis interdum. Maecenas faucibus mollis interdum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Etiam porta sem malesuada magna mollis euismod. Vestibulum id ligula porta felis euismod semper. Cras mattis consectetur purus sit amet fermentum.
<figure>
<img src="/assets/img/touring.jpg" alt="">
<img src="{{ site.url }}/assets/img/touring.jpg" alt="">
<figcaption>Fig1. - This is an example figcaption</figcaption>
</figure>
......
......@@ -37,7 +37,7 @@ Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit t
Maecenas faucibus mollis interdum. Maecenas faucibus mollis interdum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Etiam porta sem malesuada magna mollis euismod. Vestibulum id ligula porta felis euismod semper. Cras mattis consectetur purus sit amet fermentum.
<figure>
<img src="/assets/img/touring.jpg" alt="">
<img src="{{ site.url }}/assets/img/touring.jpg" alt="">
<figcaption>Fig1. - This is an example figcaption</figcaption>
</figure>
......
......@@ -37,7 +37,7 @@ Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit t
Maecenas faucibus mollis interdum. Maecenas faucibus mollis interdum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Etiam porta sem malesuada magna mollis euismod. Vestibulum id ligula porta felis euismod semper. Cras mattis consectetur purus sit amet fermentum.
<figure>
<img src="/assets/img/touring.jpg" alt="">
<img src="{{ site.url }}/assets/img/touring.jpg" alt="">
<figcaption>Fig1. - This is an example figcaption</figcaption>
</figure>
......
......@@ -38,7 +38,7 @@ Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit t
Maecenas faucibus mollis interdum. Maecenas faucibus mollis interdum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Etiam porta sem malesuada magna mollis euismod. Vestibulum id ligula porta felis euismod semper. Cras mattis consectetur purus sit amet fermentum.
<figure>
<img src="/assets/img/touring.jpg" alt="">
<img src="{{ site.url }}/assets/img/touring.jpg" alt="">
<figcaption>Fig1. - This is an example figcaption</figcaption>
</figure>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/*! responsive-nav.js 1.0.34, copyright (c) 2014 @viljamis, MIT license */
!function(a,b,c){"use strict";var d=function(d,e){var f=!!b.getComputedStyle;f||(b.getComputedStyle=function(a){return this.el=a,this.getPropertyValue=function(b){var c=/(\-([a-z]){1})/g;return"float"===b&&(b="styleFloat"),c.test(b)&&(b=b.replace(c,function(){return arguments[2].toUpperCase()})),a.currentStyle[b]?a.currentStyle[b]:null},this});var g,h,i,j,k,l,m=function(a,b,c,d){if("addEventListener"in a)try{a.addEventListener(b,c,d)}catch(e){if("object"!=typeof c||!c.handleEvent)throw e;a.addEventListener(b,function(a){c.handleEvent.call(c,a)},d)}else"attachEvent"in a&&("object"==typeof c&&c.handleEvent?a.attachEvent("on"+b,function(){c.handleEvent.call(c)}):a.attachEvent("on"+b,c))},n=function(a,b,c,d){if("removeEventListener"in a)try{a.removeEventListener(b,c,d)}catch(e){if("object"!=typeof c||!c.handleEvent)throw e;a.removeEventListener(b,function(a){c.handleEvent.call(c,a)},d)}else"detachEvent"in a&&("object"==typeof c&&c.handleEvent?a.detachEvent("on"+b,function(){c.handleEvent.call(c)}):a.detachEvent("on"+b,c))},o=function(a){if(a.children.length<1)throw new Error("The Nav container has no containing elements");for(var b=[],c=0;c<a.children.length;c++)1===a.children[c].nodeType&&b.push(a.children[c]);return b},p=function(a,b){for(var c in b)a.setAttribute(c,b[c])},q=function(a,b){0!==a.className.indexOf(b)&&(a.className+=" "+b,a.className=a.className.replace(/(^\s*)|(\s*$)/g,""))},r=function(a,b){var c=new RegExp("(\\s|^)"+b+"(\\s|$)");a.className=a.className.replace(c," ").replace(/(^\s*)|(\s*$)/g,"")},s=function(a,b,c){for(var d=0;d<a.length;d++)b.call(c,d,a[d])},t=a.createElement("style"),u=a.documentElement,v=function(b,c){var d;this.options={animate:!0,transition:284,label:"Menu",insert:"before",customToggle:"",closeOnNavClick:!1,openPos:"relative",navClass:"nav-collapse",navActiveClass:"js-nav-active",jsClass:"js",init:function(){},open:function(){},close:function(){}};for(d in c)this.options[d]=c[d];if(q(u,this.options.jsClass),this.wrapperEl=b.replace("#",""),a.getElementById(this.wrapperEl))this.wrapper=a.getElementById(this.wrapperEl);else{if(!a.querySelector(this.wrapperEl))throw new Error("The nav element you are trying to select doesn't exist");this.wrapper=a.querySelector(this.wrapperEl)}this.wrapper.inner=o(this.wrapper),h=this.options,g=this.wrapper,this._init(this)};return v.prototype={destroy:function(){this._removeStyles(),r(g,"closed"),r(g,"opened"),r(g,h.navClass),r(g,h.navClass+"-"+this.index),r(u,h.navActiveClass),g.removeAttribute("style"),g.removeAttribute("aria-hidden"),n(b,"resize",this,!1),n(b,"focus",this,!1),n(a.body,"touchmove",this,!1),n(i,"touchstart",this,!1),n(i,"touchend",this,!1),n(i,"mouseup",this,!1),n(i,"keyup",this,!1),n(i,"click",this,!1),h.customToggle?i.removeAttribute("aria-hidden"):i.parentNode.removeChild(i)},toggle:function(){j===!0&&(l?this.close():this.open(),this._enablePointerEvents())},open:function(){l||(r(g,"closed"),q(g,"opened"),q(u,h.navActiveClass),q(i,"active"),g.style.position=h.openPos,p(g,{"aria-hidden":"false"}),l=!0,h.open())},close:function(){l&&(q(g,"closed"),r(g,"opened"),r(u,h.navActiveClass),r(i,"active"),p(g,{"aria-hidden":"true"}),h.animate?(j=!1,setTimeout(function(){g.style.position="absolute",j=!0},h.transition+10)):g.style.position="absolute",l=!1,h.close())},resize:function(){"none"!==b.getComputedStyle(i,null).getPropertyValue("display")?(k=!0,p(i,{"aria-hidden":"false"}),g.className.match(/(^|\s)closed(\s|$)/)&&(p(g,{"aria-hidden":"true"}),g.style.position="absolute"),this._createStyles(),this._calcHeight()):(k=!1,p(i,{"aria-hidden":"true"}),p(g,{"aria-hidden":"false"}),g.style.position=h.openPos,this._removeStyles())},handleEvent:function(a){var c=a||b.event;switch(c.type){case"touchstart":this._onTouchStart(c);break;case"touchmove":this._onTouchMove(c);break;case"touchend":case"mouseup":this._onTouchEnd(c);break;case"click":this._preventDefault(c);break;case"keyup":this._onKeyUp(c);break;case"focus":case"resize":this.resize(c)}},_init:function(){this.index=c++,q(g,h.navClass),q(g,h.navClass+"-"+this.index),q(g,"closed"),j=!0,l=!1,this._closeOnNavClick(),this._createToggle(),this._transitions(),this.resize();var d=this;setTimeout(function(){d.resize()},20),m(b,"resize",this,!1),m(b,"focus",this,!1),m(a.body,"touchmove",this,!1),m(i,"touchstart",this,!1),m(i,"touchend",this,!1),m(i,"mouseup",this,!1),m(i,"keyup",this,!1),m(i,"click",this,!1),h.init()},_createStyles:function(){t.parentNode||(t.type="text/css",a.getElementsByTagName("head")[0].appendChild(t))},_removeStyles:function(){t.parentNode&&t.parentNode.removeChild(t)},_createToggle:function(){if(h.customToggle){var b=h.customToggle.replace("#","");if(a.getElementById(b))i=a.getElementById(b);else{if(!a.querySelector(b))throw new Error("The custom nav toggle you are trying to select doesn't exist");i=a.querySelector(b)}}else{var c=a.createElement("a");c.innerHTML=h.label,p(c,{href:"#","class":"nav-toggle"}),"after"===h.insert?g.parentNode.insertBefore(c,g.nextSibling):g.parentNode.insertBefore(c,g),i=c}},_closeOnNavClick:function(){if(h.closeOnNavClick){var a=g.getElementsByTagName("a"),b=this;s(a,function(c){m(a[c],"click",function(){k&&b.toggle()},!1)})}},_preventDefault:function(a){return a.preventDefault?(a.stopImmediatePropagation&&a.stopImmediatePropagation(),a.preventDefault(),a.stopPropagation(),!1):void(a.returnValue=!1)},_onTouchStart:function(b){this._preventDefault(b),q(a.body,"disable-pointer-events"),this.startX=b.touches[0].clientX,this.startY=b.touches[0].clientY,this.touchHasMoved=!1,n(i,"mouseup",this,!1)},_onTouchMove:function(a){(Math.abs(a.touches[0].clientX-this.startX)>10||Math.abs(a.touches[0].clientY-this.startY)>10)&&(this._enablePointerEvents(),this.touchHasMoved=!0)},_onTouchEnd:function(c){if(this._preventDefault(c),k&&!this.touchHasMoved){if("touchend"===c.type)return this.toggle(),void("after"===h.insert&&setTimeout(function(){r(a.body,"disable-pointer-events")},h.transition+300));var d=c||b.event;3!==d.which&&2!==d.button&&this.toggle()}},_onKeyUp:function(a){var c=a||b.event;13===c.keyCode&&this.toggle()},_enablePointerEvents:function(){r(a.body,"disable-pointer-events")},_transitions:function(){if(h.animate){var a=g.style,b="max-height "+h.transition+"ms";a.WebkitTransition=b,a.MozTransition=b,a.OTransition=b,a.transition=b}},_calcHeight:function(){for(var a=0,b=0;b<g.inner.length;b++)a+=g.inner[b].offsetHeight;var c="."+h.jsClass+" ."+h.navClass+"-"+this.index+".opened{max-height:"+a+"px !important} ."+h.jsClass+" .disable-pointer-events{pointer-events:none !important} ."+h.jsClass+" ."+h.navClass+"-"+this.index+".opened.dropdown-active {max-height:9999px !important}";t.styleSheet?t.styleSheet.cssText=c:t.innerHTML=c,c=""}},new v(d,e)};b.responsiveNav=d}(document,window,0);
// A $( document ).ready() block.
$( document ).ready(function() {
console.log( "ready!" );
// DropCap.js
var dropcaps = document.querySelectorAll(".dropcap");
window.Dropcap.layout(dropcaps, 3);
// Responsive-Nav
var nav = responsiveNav(".nav-collapse");
});
......@@ -64,21 +64,64 @@ HEADER STYLING
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
h1 {
font-size: 3em;
line-height: 1;
letter-spacing: -3px;
}
h1 {
font-size: 3em;
line-height: 1;
letter-spacing: -3px;
padding-left: 0;
}
nav {
float: left;
clear: left;
nav {
float: left;
clear: left;
ul {
margin: 0;
li {
display: inline;
line-height: 3em;
background: none;
padding: 0 5px;
border: none;
a {
color: white;
font-size: .9em;
text-decoration: none;
padding: 0 .25em;
&:hover {
color: darken(white, 20%);
}
}
&.current {
padding-bottom: .25em;
border-bottom: 4px solid rgba(255,255,255,.4);
}
}
}
}
}
/***************
MENU STYLING
***************/
.js .nav-collapse {
position: relative;
}
.js .nav-collapse.closed {
max-height: none;
}
.nav-toggle {
display: none;
}
/***************
POST STYLING
***************/
......@@ -139,9 +182,11 @@ POST NAV STYLING
.prev {
float: left;
text-align: left;
}
.next {
text-align: right;
float: right;
}
}
......@@ -166,18 +211,6 @@ FOOTER STYLES
}
/***************
HOMEPAGE STYLING
***************/
#contact {
form {
float: right;
margin-left: 2em;
}
}
/***************
CONTACT PAGE STYLING
***************/
......@@ -189,6 +222,5 @@ CONTACT PAGE STYLING
#contact {
form {
@include span(6 of 12 last);
margin-left: 0;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment