Commits

Jacob Moen  committed 3813ac1

sadf

  • Participants
  • Parent commits 5746960

Comments (0)

Files changed (27)

File content/blog/2010/december/arrgh.md

 Title: Arrgh
 Author: 
 Date: 2010/12/20 03:43:00
+Datetime: 2010-12-20
 Updated: 2010/12/20 16:58:00
 Description: Winterly reminder that it's better to be safe than sorry in programming: automatic dual configuration in Yii.
 Template: post

File content/blog/2010/june/mercurial-1-5-on-dreamhost.md

 Title: Mercurial 1.5 on Dreamhost
 Author: 
 Date: 2010/06/10 03:43:00
+Datetime: 2010-06-10
 Updated: 2010/06/10 16:58:00
 Description: This is a mini-guide to install Mercurial locally in your home directory. Useful if you're on a shared host without root access.
 Template: post

File content/blog/2010/june/new-ogre-wiki.md

 Title: New Ogre Wiki
 Author: 
 Date: 2010/06/16 03:43:00
+Datetime: 2010-06-16
 Updated: 2010/06/16 16:58:00
 Description: After more than six months in the making, the new Ogre wiki is now live! My biggest solo project so far, and I am both proud and happy to see that it succeeded.
 Template: post

File content/blog/2010/november/how-to-install-xdebug-and-webgrind-on-wamp.md

 Title: How to install xDebug and Webgrind on Wamp
 Author: 
 Date: 2010/11/03 03:43:00
+Datetime: 2010-11-03
 Updated: 2010/11/03 16:58:00
 Description: How to install XDebug and Webgrind on Wamp
 Template: post

File content/blog/2011/april/winds-of-change.md

 Title: Winds of Change
 Author: 
 Date: 2011/04/16 03:43:00
+Datetime: 2011-04-16
 Updated: 2011/04/16 16:58:00
 Description: A new year with lots of promises is upon us - actually it's been a new year for a while now, but I only got around to blog about it just now - and a lot of things has changed in the geeky life of me.
 Template: post

File content/blog/2011/august/what-you-see-is-what-you-mean.md

 Title: What You See Is What You Mean
 Author: 
 Date: 2011/08/21 03:43:00
+Datetime: 2011-08-21
 Updated: 2011/08/21 16:58:00
 Description: Finally found an online editor I am satisfied with: Wymeditor - the WYSIWYM editor which leaves your code alone.
 Template: post

File content/blog/2011/december/local-pear-installation-using-pyrus-without-system-wide-server-install.md

 Title: Local Pear installation using Pyrus without system-wide server-install
 Author: 
 Date: 2011/12/03 03:43:00
+Datetime: 2011-12-03
 Updated: 2011/12/03 16:58:00
 Description: How to install PHP PEAR locally using Pyrus on your development machine and use it on your web host without server install.
 Template: post

File content/blog/2011/december/using-emacs-and-org-mode-for-blogging.md

 Title: Using Emacs and org-mode for blogging
 Author: 
 Date: 2011/12/27 03:43:00
+Datetime: 2011-12-27
 Updated: 2014/01/09 00:14:54
 Description: How I use Emacs and Org-Mode for blogging
 Template: post

File content/blog/2011/june/aptosid-reviewed.md

 Title: aptosid - reviewed
 Author: 
 Date: 2011/06/03 03:43:00
+Datetime: 2011-06-03
 Updated: 2011/06/03 16:58:00
 Description: A review of aptosid - a distribution based on Debian unstable (Sid). The surprisingly stable unstable Debian distribution. If you like KDE and Debian, and all the latest software and a stable cutting-edge system, then this distribution is for you!
 Template: post

File content/blog/2011/october/how-to-send-test-emails-using-php-mail-from-your-local-wamp-installation.md

 Title: How to send test emails using php mail from your local wamp installation
 Author: 
 Date: 2011/10/31 03:43:00
+Datetime: 2011-10-31
 Updated: 2011/10/31 16:58:00
 Description: How to send test emails using PHP mail from your WAMP server by means of fake sendmail and a GMail account.
 Template: post

File content/blog/2011/september/multiple-local-apache-virtual-hosts.md

 Title: Multiple Local Apache Virtual Hosts
 Author: 
 Date: 2011/09/18 03:43:00
+Datetime: 2011-09-18
 Updated: 2011/09/18 16:58:00
 Description: How to set up multiple local virtual hosts with Apache for web development on Linux
 Template: post

File content/blog/2012/december/the-blank-keyboard.md

 Title: The Blank Keyboard
 Author: 
 Date: 2012/12/31 23:01:00
+Datetime: 2012-12-31
 Updated: 2012/12/31 23:01:00
 Description: How I went from being a regular programmer to becoming an l33t hacker by removing the letters from my old keyboard.
 Template: post

File content/blog/2012/january/happy-new-year-personal-list-of-things-to-focus-on-in-2012.md

 Title: Happy New Year - Personal list of things to focus on in 2012
 Author: 
 Date: 2012/01/16 03:43:00
+Datetime: 2012-01-16
 Updated: 2012/01/16 16:58:00
 Description: This is my personal list of things to focus on in anno 2012 - programming and other.
 Template: post

File content/blog/2013/january/how-to-send-emails-with-msmtp-on-windows-or-linux-or-mac-os-x.md

 Title: How to send emails with msmtp on Windows or Linux or Mac OS X
 Author: 
 Date: 2013/01/03 03:43:00
+Datetime: 2013-01-03
 Updated: 2013/01/03 16:58:00
 Description: When you are a developer it is often useful to be able to send emails from your local machine without having to install an email server like sendmail. This example uses PHP and a Gmail account.
 Template: post

File content/blog/2014/january/alive-and-kicking.md

 Title: Alive and kicking
 Author: Jacob Moen
 Date: 2014/01/11 12:47:55
+Datetime: 2014-01-11
 Description: The reports of my death are greatly exaggerated. Or, in other words: I am still kicking. In case anyone wonders what became of me. As a matter of fact, I now kick better than I ever did!
 Template: post
 Disqusid: /alive-and-kicking

File content/blog/2014/january/blog-to-basics.md

 Title: Blog to basics
 Author: 
 Date: 2014/01/15 12:47:55
+Datetime: 2014-01-15
 Description: The rejuvination of my blog by getting rid of junk like database and code bloat and start using a flat file based blogging software called Phile.
 Template: post
 Disqusid: /blog-to-basics

File content/index.md

 
 **Latest blog post:**
 
-<div class="row" style="display: block;">
-                <div class="large-3 columns">
-                  <div><br></div>
-                  <a class="th" href="blog/2014/january/alive-and-kicking">
-                    <img src="content/images/not-dead-yet%20(Custom).jpg" title="Alive and kicking" alt="Alive and kicking">
-                  </a>
-                </div>
-                <div class="large-9 columns">
-                      <h4><a href="blog/2014/january/alive-and-kicking">Alive and kicking</a></h4>
-                      <span class="post-date"><em>January 11th, 2014</em></span><br><br>
-                      <p>The reports of my death are greatly exaggerated. Or, in other words I am still kicking. In case anyone wonders what became of me. As a matter of fact, I now kick better than I ever did!</p>
-                      <a href="blog/2014/january/alive-and-kicking" title="Alive and kicking" class="button tiny rounded">Read More</a>
-                </div>
-              <hr>
-              </div>
+<article role="article" itemscope="" itemtype="http://schema.org/BlogPosting">
+                                    <div class="row">
+                                        <div class="large-3 columns">
+                                            <div><br></div>
+                                            <a class="th" href="blog/2013/january/how-to-send-emails-with-msmtp-on-windows-or-linux-or-mac-os-x">
+                                            <img src="http://jacmoe.dk/content/images/email-at-work%20(Custom).jpg" title="How to send emails with msmtp on Windows or Linux or Mac OS X" alt="How to send emails with msmtp on Windows or Linux or Mac OS X" itemprop="image">
+                                            </a>
+                                        </div> <!-- columns -->
+                                        <div class="large-9 columns">
+                                            <h4 itemprop="name"><a href="http://jacmoe.dk/blog/2013/january/how-to-send-emails-with-msmtp-on-windows-or-linux-or-mac-os-x" itemprop="url">How to send emails with msmtp on Windows or Linux or Mac OS X</a></h4>
+                                            <span class="post-date"><em><time itemprop="dateCreated" datetime="2013-01-03">January 3rd, 2013</time> - <span itemprop="author">Jacob Moen</span></em></span><br><br>
+                                            <p itemprop="description">When you are a developer it is often useful to be able to send emails from your local machine without having to install an email server like sendmail. This example uses PHP and a Gmail account.</p>
+                                            <a href="blog/2013/january/how-to-send-emails-with-msmtp-on-windows-or-linux-or-mac-os-x" title="How to send emails with msmtp on Windows or Linux or Mac OS X" class="button tiny rounded">Read More</a>
+                                        </div> <!-- columns -->
+                                        <hr>
+                                    </div> <!-- row -->
+                                </article>
 <br/><br/>

File themes/foundation/footer.html

         <footer class="footer" role="contentinfo">
-            <div class="row">
-                <div class="medium-8 columns">
+            <div class="footer-row">
+                <div class="footer-mainnav">
                     <span class="jacmoes-logo regular"></span>
                     <ul class="jacmoes-links">
                         <li><a href="/">Home</a></li>
                     </ul>
                     <p class="copyright">&copy; 2010 - 2014 by <a href="https://plus.google.com/100178862812199164136?rel=author">Jacob Moen</a> All rights reserved.</p>
                 </div> <!-- columns -->
-                <div class="medium-4 columns">
+                <div class="footer-buttons">
                     <ul class="home-social">
                         <li><a class="dreamlink" href="http://www.dreamhost.com/r.cgi?1188567/green.cgi?jacmoe.dk">
                         <img border="0" alt="Green Web Hosting! This site hosted by DreamHost." title="Site hosted by DreamHost."
 
         <script src="{{ theme_url }}/js/jquery.pagination-with-hash-change.js"></script>
 
+        <script src="{{ theme_url }}/js/jquery.scrollUp.min.js"></script>
+
         <script src="{{ theme_url }}/js/socialite.min.js"></script>
 
         <script>

File themes/foundation/img/top.png

Added
New image

File themes/foundation/index.html

 {% endif %}
 {% endif %}
 {% endif %}
-                        <div class="inner">
 <!-- content start -->
 {{ content }}
 <!-- content end -->
 {% if current_page.title == 'Blog' %}
                             <h3>Blog</h3>
                             <hr/>
-                            <div id="blogposts">
 {% for page in pages %}
 {# check if the page uses the post template #}
 {% if page.meta.template == 'post' %}
                                 <!-- Blog Entry -->
-                                <div class="row">
-                                    <div class="large-3 columns">
-                                        <div><br/></div>
-                                        <a class="th" href="{{ page.url }}">
-                                        <img src="content/images/{{ page.meta.thumb }}" title="{{ page.meta.title }}" alt="{{ page.meta.title }}">
-                                        </a>
-                                    </div> <!-- columns -->
-                                    <div class="large-9 columns">
-                                        <h4><a href="{{ page.url }}">{{ page.meta.title }}</a></h4>
-                                        <span class="post-date"><em>{{ page.meta.date|date(config.date_format) }}</em></span><br><br>
-                                        <p>{{ page.meta.description }}</p>
-                                        <a href="{{ page.url }}" title="{{ page.title }}" class="button tiny rounded">Read More</a>
-                                    </div> <!-- columns -->
-                                    <hr/>
-                                </div> <!-- row -->
+                                <article role="article" itemscope itemtype="http://schema.org/BlogPosting">
+                                    <div class="row">
+                                        <div class="large-3 columns">
+                                            <div><br/></div>
+                                            <a class="th" href="{{ page.url }}">
+                                            <img src="{{ base_url }}/content/images/{{ page.meta.thumb }}" title="{{ page.meta.title }}" alt="{{ page.meta.title }}" itemprop="image">
+                                            </a>
+                                        </div> <!-- columns -->
+                                        <div class="large-9 columns">
+                                            <h4 itemprop=name><a href="{{ base_url }}/{{ page.url }}" itemprop="url">{{ page.meta.title }}</a></h4>
+                                            <span class="post-date"><em><time itemprop="dateCreated" datetime="{{ page.meta.datetime }}">{{ page.meta.date|date(config.date_format) }}</time> - <span itemprop="author">Jacob Moen</span></em></span><br><br>
+                                            <p itemprop="description">{{ page.meta.description }}</p>
+                                            <a href="{{ page.url }}" title="{{ page.title }}" class="button tiny rounded">Read More</a>
+                                        </div> <!-- columns -->
+                                        <hr/>
+                                    </div> <!-- row -->
+                                </article>
                                 <!-- End Blog Entry -->
 {% endif %}
 {% endfor %}
-                            </div> <!-- blogposts -->
 {% endif %}
-                        </div> <!-- inner -->
                     </section>
                 </div> <!-- columns -->
             </div> <!-- row -->

File themes/foundation/js/jquery.easing.min.js

+/*
+ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
+ *
+ * Uses the built in easing capabilities added In jQuery 1.1
+ * to offer multiple easing options
+ *
+ * TERMS OF USE - jQuery Easing
+ * 
+ * Open source under the BSD License. 
+ * 
+ * Copyright © 2008 George McGinley Smith
+ * All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without modification, 
+ * are permitted provided that the following conditions are met:
+ * 
+ * Redistributions of source code must retain the above copyright notice, this list of 
+ * conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list 
+ * of conditions and the following disclaimer in the documentation and/or other materials 
+ * provided with the distribution.
+ * 
+ * Neither the name of the author nor the names of contributors may be used to endorse 
+ * or promote products derived from this software without specific prior written permission.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
+ * OF THE POSSIBILITY OF SUCH DAMAGE. 
+ *
+*/
+
+// t: current time, b: begInnIng value, c: change In value, d: duration
+jQuery.easing['jswing'] = jQuery.easing['swing'];
+
+jQuery.extend( jQuery.easing,
+{
+	def: 'easeOutQuad',
+	swing: function (x, t, b, c, d) {
+		//alert(jQuery.easing.default);
+		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
+	},
+	easeInQuad: function (x, t, b, c, d) {
+		return c*(t/=d)*t + b;
+	},
+	easeOutQuad: function (x, t, b, c, d) {
+		return -c *(t/=d)*(t-2) + b;
+	},
+	easeInOutQuad: function (x, t, b, c, d) {
+		if ((t/=d/2) < 1) return c/2*t*t + b;
+		return -c/2 * ((--t)*(t-2) - 1) + b;
+	},
+	easeInCubic: function (x, t, b, c, d) {
+		return c*(t/=d)*t*t + b;
+	},
+	easeOutCubic: function (x, t, b, c, d) {
+		return c*((t=t/d-1)*t*t + 1) + b;
+	},
+	easeInOutCubic: function (x, t, b, c, d) {
+		if ((t/=d/2) < 1) return c/2*t*t*t + b;
+		return c/2*((t-=2)*t*t + 2) + b;
+	},
+	easeInQuart: function (x, t, b, c, d) {
+		return c*(t/=d)*t*t*t + b;
+	},
+	easeOutQuart: function (x, t, b, c, d) {
+		return -c * ((t=t/d-1)*t*t*t - 1) + b;
+	},
+	easeInOutQuart: function (x, t, b, c, d) {
+		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
+		return -c/2 * ((t-=2)*t*t*t - 2) + b;
+	},
+	easeInQuint: function (x, t, b, c, d) {
+		return c*(t/=d)*t*t*t*t + b;
+	},
+	easeOutQuint: function (x, t, b, c, d) {
+		return c*((t=t/d-1)*t*t*t*t + 1) + b;
+	},
+	easeInOutQuint: function (x, t, b, c, d) {
+		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
+		return c/2*((t-=2)*t*t*t*t + 2) + b;
+	},
+	easeInSine: function (x, t, b, c, d) {
+		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
+	},
+	easeOutSine: function (x, t, b, c, d) {
+		return c * Math.sin(t/d * (Math.PI/2)) + b;
+	},
+	easeInOutSine: function (x, t, b, c, d) {
+		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
+	},
+	easeInExpo: function (x, t, b, c, d) {
+		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
+	},
+	easeOutExpo: function (x, t, b, c, d) {
+		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
+	},
+	easeInOutExpo: function (x, t, b, c, d) {
+		if (t==0) return b;
+		if (t==d) return b+c;
+		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
+		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
+	},
+	easeInCirc: function (x, t, b, c, d) {
+		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
+	},
+	easeOutCirc: function (x, t, b, c, d) {
+		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
+	},
+	easeInOutCirc: function (x, t, b, c, d) {
+		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
+		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
+	},
+	easeInElastic: function (x, t, b, c, d) {
+		var s=1.70158;var p=0;var a=c;
+		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
+		if (a < Math.abs(c)) { a=c; var s=p/4; }
+		else var s = p/(2*Math.PI) * Math.asin (c/a);
+		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
+	},
+	easeOutElastic: function (x, t, b, c, d) {
+		var s=1.70158;var p=0;var a=c;
+		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
+		if (a < Math.abs(c)) { a=c; var s=p/4; }
+		else var s = p/(2*Math.PI) * Math.asin (c/a);
+		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
+	},
+	easeInOutElastic: function (x, t, b, c, d) {
+		var s=1.70158;var p=0;var a=c;
+		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
+		if (a < Math.abs(c)) { a=c; var s=p/4; }
+		else var s = p/(2*Math.PI) * Math.asin (c/a);
+		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
+		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
+	},
+	easeInBack: function (x, t, b, c, d, s) {
+		if (s == undefined) s = 1.70158;
+		return c*(t/=d)*t*((s+1)*t - s) + b;
+	},
+	easeOutBack: function (x, t, b, c, d, s) {
+		if (s == undefined) s = 1.70158;
+		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
+	},
+	easeInOutBack: function (x, t, b, c, d, s) {
+		if (s == undefined) s = 1.70158; 
+		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
+		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
+	},
+	easeInBounce: function (x, t, b, c, d) {
+		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
+	},
+	easeOutBounce: function (x, t, b, c, d) {
+		if ((t/=d) < (1/2.75)) {
+			return c*(7.5625*t*t) + b;
+		} else if (t < (2/2.75)) {
+			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
+		} else if (t < (2.5/2.75)) {
+			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
+		} else {
+			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
+		}
+	},
+	easeInOutBounce: function (x, t, b, c, d) {
+		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
+		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
+	}
+});
+
+/*
+ *
+ * TERMS OF USE - EASING EQUATIONS
+ * 
+ * Open source under the BSD License. 
+ * 
+ * Copyright © 2001 Robert Penner
+ * All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without modification, 
+ * are permitted provided that the following conditions are met:
+ * 
+ * Redistributions of source code must retain the above copyright notice, this list of 
+ * conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list 
+ * of conditions and the following disclaimer in the documentation and/or other materials 
+ * provided with the distribution.
+ * 
+ * Neither the name of the author nor the names of contributors may be used to endorse 
+ * or promote products derived from this software without specific prior written permission.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
+ * OF THE POSSIBILITY OF SUCH DAMAGE. 
+ *
+ */

File themes/foundation/js/jquery.scrollUp.min.js

+/*
+
+ scrollup v2.1.1
+ Author: Mark Goodyear - http://markgoodyear.com
+ Git: https://github.com/markgoodyear/scrollup
+
+ Copyright 2013 Mark Goodyear.
+ Licensed under the MIT license
+ http://www.opensource.org/licenses/mit-license.php
+
+ Twitter: @markgdyr
+
+ */
+!function(a,b,c){a.fn.scrollUp=function(b){a.data(c.body,"scrollUp")||(a.data(c.body,"scrollUp",!0),a.fn.scrollUp.init(b))},a.fn.scrollUp.init=function(d){var e=a.fn.scrollUp.settings=a.extend({},a.fn.scrollUp.defaults,d),f=e.scrollTitle?e.scrollTitle:e.scrollText,g=a("<a/>",{id:e.scrollName,href:"#top",title:f}).appendTo("body");e.scrollImg||g.html(e.scrollText),g.css({display:"none",position:"fixed",zIndex:e.zIndex}),e.activeOverlay&&a("<div/>",{id:e.scrollName+"-active"}).css({position:"absolute",top:e.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+e.activeOverlay,zIndex:e.zIndex}).appendTo("body"),scrollEvent=a(b).scroll(function(){switch(scrollDis="top"===e.scrollFrom?e.scrollDistance:a(c).height()-a(b).height()-e.scrollDistance,e.animation){case"fade":a(a(b).scrollTop()>scrollDis?g.fadeIn(e.animationInSpeed):g.fadeOut(e.animationOutSpeed));break;case"slide":a(a(b).scrollTop()>scrollDis?g.slideDown(e.animationInSpeed):g.slideUp(e.animationOutSpeed));break;default:a(a(b).scrollTop()>scrollDis?g.show(0):g.hide(0))}}),g.click(function(b){b.preventDefault(),a("html, body").animate({scrollTop:0},e.scrollSpeed,e.easingType)})},a.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationInSpeed:200,animationOutSpeed:200,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},a.fn.scrollUp.destroy=function(d){a.removeData(c.body,"scrollUp"),a("#"+a.fn.scrollUp.settings.scrollName).remove(),a("#"+a.fn.scrollUp.settings.scrollName+"-active").remove(),a.fn.jquery.split(".")[1]>=7?a(b).off("scroll",d):a(b).unbind("scroll",d)},a.scrollUp=a.fn.scrollUp}(jQuery,window,document);

File themes/foundation/post.html

 {% include 'shareme.html' %}
                     </div>
                     <section id="content">
-                        <div class="inner">
-                            <article>
+                        <article role="article" itemscope itemtype="http://schema.org/BlogPosting">
 {# use the current page meta to show some info about this post #}
-                                <h2><a href="{{ base_url }}/{{ current_page.url }}">{{ current_page.meta.title }}{{current_page.file}}</a></h2>
-                                <hr/>
-                                <span class="post-date"><em>{{ current_page.meta.date|date(config.date_format) }}</em></span><br/><br/>
-                                <div class="post-description">
-                                    <em>{{current_page.meta.description}}</em>
-                                </div>
-                                <hr/>
+                            <h2 itemprop=name><a href="{{ base_url }}/{{ current_page.url }}" itemprop="url">{{ current_page.meta.title }}{{current_page.file}}</a></h2>
+                            <meta itemprop="image" content="{{ base_url }}/content/images/{{ current_page.meta.ogimage }}">
+                            <hr/>
+                            <span class="post-date"><em><time itemprop="dateCreated" datetime="{{ current_page.meta.datetime }}">{{ page.meta.date|date(config.date_format) }}</time> - <span itemprop="author">Jacob Moen</span></em></span><br><br>
+                            <div class="post-description">
+                                <em itemprop="description">{{current_page.meta.description}}</em>
+                            </div>
+                            <hr/>
 <!-- content start -->
-                                <p>{{ content }}</p>
+                            <div itemprop="articleBody">{{ content }}</div>
 <!-- content end -->
-                                <hr/>
-                                <span class="post-date"><em>Published {{ current_page.meta.date|date(config.date_format) }}.</em></span>
-                                <div class="right" id="shareme2">
+                            <hr/>
+                            <span class="post-date"><em>Published {{ current_page.meta.date|date(config.date_format) }}.</em></span>
+                            <div class="right" id="shareme2">
 {% include 'shareme.html' %}
-                                </div>
-                                <hr/>
-                                <p><div id="disqus_thread"></div></p>
-                            </article>
-                        </div> <!-- inner -->
+                            </div>
+                            <hr/>
+                            <p><div id="disqus_thread"></div></p>
+                        </article>
                     </section>
 
                     <!-- block Disqus script on local host -->

File themes/foundation/scss/_footer.scss

+.footer-row {
+	@include grid-row();	
+}
+
+.footer-mainnav {
+	@extend .columns;
+	@extend .medium-8;
+}
+
+.footer-buttons {
+	@extend .columns;
+	@extend .medium-4;
+}
+
+
+
 .footer ul.jacmoes-links li {
 display: block;
 float: left;

File themes/foundation/scss/app.scss

 
 @import "post";
 
+/* Image style */
+#scrollUp {
+  bottom: 20px;
+  right: 20px;
+  height: 38px;  /* Height of image */
+  width: 38px; /* Width of image */
+  background: url(img/top.png) no-repeat;
+}
+
+#toggleActive {
+  padding: 6px;
+  width: 160px;
+  text-align: center;
+  display: inline-block;
+  background: #333;
+  color: #eee;
+  font-size: 14px;
+  cursor: pointer;
+  -webkit-transition: all 200ms ease-out;
+  -mozilla-transition: all 200ms ease-out;
+  -ms-transition: all 200ms ease-out;
+  -o-transition: all 200ms ease-out;
+  transition: all 200ms ease-out;
+  -webkit-border-radius: 6px;
+  -moz-border-radius: 6px;
+  border-radius: 6px;
+}
+  #toggleActive.active {
+    background: #F66169;
+    color: #FAEFDE;
+  }
+
+#scrollUp-active{
+  display: none;
+}

File themes/foundation/shareme.html

 				<ul class="social-buttons cf">
-				    <li><a href="http://twitter.com/share" class="socialite twitter-share" data-text="{{ current_page.meta.title }}" data-url="{{ base_url }}/{{ current_page.url }}" data-count="vertical" rel="nofollow" target="_blank"><span class="vhidden">Share on Twitter</span></a></li>
-				    <li><a href="https://plus.google.com/share?url={{ base_url }}/{{ current_page.url }}" class="socialite googleplus-one" data-size="tall" data-href="{{ base_url }}/{{ current_page.url }}" rel="nofollow" target="_blank"><span class="vhidden">Share on Google+</span></a></li>
-				    <li><a href="http://www.facebook.com/sharer.php?u={{ base_url }}/{{ current_page.url }}&amp;t={{ current_page.meta.title }}" class="socialite facebook-like" data-href="{{ base_url }}/{{ current_page.url }}" data-send="false" data-layout="box_count" data-width="60" data-show-faces="false" rel="nofollow" target="_blank"><span class="vhidden">Share on Facebook</span></a></li>
-				    <li><a href="http://www.linkedin.com/shareArticle?mini=true&amp;url={{ base_url }}/{{ current_page.url }}&amp;title={{ current_page.meta.title }}" class="socialite linkedin-share" data-url="{{ base_url }}/{{ current_page.url }}" data-counter="top" rel="nofollow" target="_blank"><span class="vhidden">Share on LinkedIn</span></a></li>
+				    <li><a href="http://twitter.com/share"
+				     class="socialite twitter-share" 
+				     data-text="{{ current_page.meta.title }}" 
+				     data-url="{{ base_url }}/{{ current_page.url }}" 
+				     data-count="vertical" rel="nofollow" target="_blank">
+				     <span class="vhidden">Share on Twitter</span></a></li>
+				    <li><a href="https://plus.google.com/share?url={{ base_url }}/{{ current_page.url }}"
+				     class="socialite googleplus-one" data-size="tall" 
+				     data-href="{{ base_url }}/{{ current_page.url }}" 
+				     rel="nofollow" target="_blank">
+				     <span class="vhidden">Share on Google+</span></a></li>
+				    <li><a href="http://www.facebook.com/sharer.php?u={{ base_url }}/{{ current_page.url }}&amp;t={{ current_page.meta.title }}" 
+				    	class="socialite facebook-like" data-href="{{ base_url }}/{{ current_page.url }}"
+				    	 data-send="false" data-layout="box_count" data-width="60" data-show-faces="false"
+				    	  rel="nofollow" target="_blank">
+				    	  <span class="vhidden">Share on Facebook</span></a></li>
+				    <li><a href="http://www.linkedin.com/shareArticle?mini=true&amp;url={{ base_url }}/{{ current_page.url }}&amp;title={{ current_page.meta.title }}"
+				     class="socialite linkedin-share" data-url="{{ base_url }}/{{ current_page.url }}"
+				      data-counter="top" rel="nofollow" target="_blank">
+				      <span class="vhidden">Share on LinkedIn</span></a></li>
 				</ul>

File themes/foundation/shareme_front.html

 				<ul class="social-buttons cf">
-					<li><a href="http://twitter.com/share" class="socialite twitter-share" data-text="{{ current_page.meta.title }}" data-url="{{ base_url }}" data-count="vertical" rel="nofollow" target="_blank"><span class="vhidden">Share on Twitter</span></a></li>
-					<li><a href="https://plus.google.com/share?url={{ base_url }}" class="socialite googleplus-one" data-size="tall" data-href="{{ base_url }}" rel="nofollow" target="_blank"><span class="vhidden">Share on Google+</span></a></li>
-					<li><a href="http://www.facebook.com/sharer.php?u={{ base_url }}&amp;t={{ current_page.meta.title }}" class="socialite facebook-like" data-href="{{ base_url }}" data-send="false" data-layout="box_count" data-width="60" data-show-faces="false" rel="nofollow" target="_blank"><span class="vhidden">Share on Facebook</span></a></li>
-					<li><a href="http://www.linkedin.com/shareArticle?mini=true&amp;url={{ base_url }}&amp;title={{ current_page.meta.title }}" class="socialite linkedin-share" data-url="{{ base_url }}" data-counter="top" rel="nofollow" target="_blank"><span class="vhidden">Share on LinkedIn</span></a></li>
+					<li><a href="http://twitter.com/share" class="socialite twitter-share"
+					 data-text="{{ current_page.meta.title }}" data-url="{{ base_url }}"
+					  data-count="vertical" rel="nofollow" target="_blank">
+					  <span class="vhidden">Share on Twitter</span></a></li>
+					<li><a href="https://plus.google.com/share?url={{ base_url }}" 
+						class="socialite googleplus-one" data-size="tall" data-href="{{ base_url }}" 
+						rel="nofollow" target="_blank">
+						<span class="vhidden">Share on Google+</span></a></li>
+					<li><a href="http://www.facebook.com/sharer.php?u={{ base_url }}&amp;t={{ current_page.meta.title }}" 
+						class="socialite facebook-like" data-href="{{ base_url }}" data-send="false" 
+						data-layout="box_count" data-width="60" data-show-faces="false" 
+						rel="nofollow" target="_blank">
+						<span class="vhidden">Share on Facebook</span></a></li>
+					<li><a href="http://www.linkedin.com/shareArticle?mini=true&amp;url={{ base_url }}&amp;title={{ current_page.meta.title }}" 
+						class="socialite linkedin-share" data-url="{{ base_url }}" data-counter="top" 
+						rel="nofollow" target="_blank">
+						<span class="vhidden">Share on LinkedIn</span></a></li>
 				</ul>