Commits

Jacob Moen  committed 6e4ac92

91 points on Pagespeed. :) Worked the footer a bit..

  • Participants
  • Parent commits 6beefd3

Comments (0)

Files changed (12)

 BrowserMatch ^Mozilla/4\.0[678] no-gzip
 BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
 Header append Vary User-Agent
+<IfModule mod_mime.c>
+    AddType text/css .css
+    AddType text/x-component .htc
+    AddType application/x-javascript .js
+    AddType application/javascript .js2
+    AddType text/javascript .js3
+    AddType text/x-js .js4
+    AddType text/html .html .htm
+    AddType text/richtext .rtf .rtx
+    AddType image/svg+xml .svg .svgz
+    AddType text/plain .txt
+    AddType text/xsd .xsd
+    AddType text/xsl .xsl
+    AddType text/xml .xml
+    AddType video/asf .asf .asx .wax .wmv .wmx
+    AddType video/avi .avi
+    AddType image/bmp .bmp
+    AddType application/java .class
+    AddType video/divx .divx
+    AddType application/msword .doc .docx
+    AddType application/vnd.ms-fontobject .eot
+    AddType application/x-msdownload .exe
+    AddType image/gif .gif
+    AddType application/x-gzip .gz .gzip
+    AddType image/x-icon .ico
+    AddType image/jpeg .jpg .jpeg .jpe
+    AddType application/json .json
+    AddType application/vnd.ms-access .mdb
+    AddType audio/midi .mid .midi
+    AddType video/quicktime .mov .qt
+    AddType audio/mpeg .mp3 .m4a
+    AddType video/mp4 .mp4 .m4v
+    AddType video/mpeg .mpeg .mpg .mpe
+    AddType application/vnd.ms-project .mpp
+    AddType application/x-font-otf .otf
+    AddType application/vnd.oasis.opendocument.database .odb
+    AddType application/vnd.oasis.opendocument.chart .odc
+    AddType application/vnd.oasis.opendocument.formula .odf
+    AddType application/vnd.oasis.opendocument.graphics .odg
+    AddType application/vnd.oasis.opendocument.presentation .odp
+    AddType application/vnd.oasis.opendocument.spreadsheet .ods
+    AddType application/vnd.oasis.opendocument.text .odt
+    AddType audio/ogg .ogg
+    AddType application/pdf .pdf
+    AddType image/png .png
+    AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
+    AddType audio/x-realaudio .ra .ram
+    AddType application/x-shockwave-flash .swf
+    AddType application/x-tar .tar
+    AddType image/tiff .tif .tiff
+    AddType application/x-font-ttf .ttf .ttc
+    AddType audio/wav .wav
+    AddType audio/wma .wma
+    AddType application/vnd.ms-write .wri
+    AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
+    AddType application/zip .zip
+</IfModule>
+
+<IfModule mod_expires.c>
+    ExpiresActive On
+    ExpiresByType text/css A31536000
+    ExpiresByType text/x-component A31536000
+    ExpiresByType application/x-javascript A31536000
+    ExpiresByType application/javascript A31536000
+    ExpiresByType text/javascript A31536000
+    ExpiresByType text/x-js A31536000
+    ExpiresByType text/html A3600
+    ExpiresByType text/richtext A3600
+    ExpiresByType image/svg+xml A3600
+    ExpiresByType text/plain A3600
+    ExpiresByType text/xsd A3600
+    ExpiresByType text/xsl A3600
+    ExpiresByType text/xml A3600
+    ExpiresByType video/asf A31536000
+    ExpiresByType video/avi A31536000
+    ExpiresByType image/bmp A31536000
+    ExpiresByType application/java A31536000
+    ExpiresByType video/divx A31536000
+    ExpiresByType application/msword A31536000
+    ExpiresByType application/vnd.ms-fontobject A31536000
+    ExpiresByType application/x-msdownload A31536000
+    ExpiresByType image/gif A31536000
+    ExpiresByType application/x-gzip A31536000
+    ExpiresByType image/x-icon A31536000
+    ExpiresByType image/jpeg A31536000
+    ExpiresByType application/json A31536000
+    ExpiresByType application/vnd.ms-access A31536000
+    ExpiresByType audio/midi A31536000
+    ExpiresByType video/quicktime A31536000
+    ExpiresByType audio/mpeg A31536000
+    ExpiresByType video/mp4 A31536000
+    ExpiresByType video/mpeg A31536000
+    ExpiresByType application/vnd.ms-project A31536000
+    ExpiresByType application/x-font-otf A31536000
+    ExpiresByType application/vnd.oasis.opendocument.database A31536000
+    ExpiresByType application/vnd.oasis.opendocument.chart A31536000
+    ExpiresByType application/vnd.oasis.opendocument.formula A31536000
+    ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
+    ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
+    ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
+    ExpiresByType application/vnd.oasis.opendocument.text A31536000
+    ExpiresByType audio/ogg A31536000
+    ExpiresByType application/pdf A31536000
+    ExpiresByType image/png A31536000
+    ExpiresByType application/vnd.ms-powerpoint A31536000
+    ExpiresByType audio/x-realaudio A31536000
+    ExpiresByType image/svg+xml A31536000
+    ExpiresByType application/x-shockwave-flash A31536000
+    ExpiresByType application/x-tar A31536000
+    ExpiresByType image/tiff A31536000
+    ExpiresByType application/x-font-ttf A31536000
+    ExpiresByType audio/wav A31536000
+    ExpiresByType audio/wma A31536000
+    ExpiresByType application/vnd.ms-write A31536000
+    ExpiresByType application/vnd.ms-excel A31536000
+    ExpiresByType application/zip A31536000
+</IfModule>
 	'phileParserMarkdown' => array('active' => true),
 	'phileParserParsedown' => array('active' => false),
 	'phileTemplateTwig' => array('active' => true), // the default template engine
-	'philePhpFastCache' => array('active' => false), // the default cache engine
-	'phileSimpleFileDataPersistence' => array('active' => false), // the default data storage engine
-	// 'philePhpFastCache' => array('active' => true), // the default cache engine
-	// 'phileSimpleFileDataPersistence' => array('active' => true), // the default data storage engine
+	// 'philePhpFastCache' => array('active' => false), // the default cache engine
+	// 'phileSimpleFileDataPersistence' => array('active' => false), // the default data storage engine
+	'philePhpFastCache' => array('active' => true), // the default cache engine
+	'phileSimpleFileDataPersistence' => array('active' => true), // the default data storage engine
 );
 
 // it is important to return the $config array!

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
-Updated: 2014/01/09 0:14:54
+Updated: 2014/01/09 00:14:54
 Description: How I use Emacs and Org-Mode for blogging
 Template: post
 Disqusid: /using-emacs-and-org-mode-for-blogging

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

 Disqusid: /how-to-send-emails-with-msmtp-on-windows-or-linux-or-mac-os-x
 ogimage: email-at-work.jpg
 thumb: email-at-work%20(Custom).jpg
+Keywords: windows, linux, sendmail, php, gmail, msmtp, wamp, email, programming, uniformserver
  -->
 
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 [3]: %base_url%/content/images/email-at-work%20(Mobile).jpg "Email at work" {.th}
 [4]: %base_url%/content/images/email-at-work.jpg "Email at work" {.sb}
 </div>
-Sometimes you need to just be able to send emails, without having to install a full-fledged email server and/or use a dedicated library, like Swiftmailer  or PHPMailer   (assuming, of course, that you use PHP - otherwise insert your favorite email library here).
+Sometimes you need to just be able to send emails, without having to install a full-fledged email server and/or use a dedicated library, like [Swiftmailer](http://swiftmailer.org/)  or [PHPMailer](http://phpmailer.worxware.com/)   (assuming, of course, that you use PHP - otherwise insert your favorite email library here).
 
 The send function in PHP uses sendmail (if it's installed) to send emails, and this blog post outlines a way to be able to do that by means of a small program which can emulate sendmail.
 
-I wrote a blogpost  previously about using fake sendmail for the same purpose, but msmtp (which is what we'll be using here) seems to be actively maintained, and it's in most package repositories for Linux, so a much better option IMO. ;)
+I wrote a [blogpost](/blog/2011/october/how-to-send-test-emails-using-php-mail-from-your-local-wamp-installation)  previously about using fake sendmail for the same purpose, but msmtp (which is what we'll be using here) seems to be actively maintained, and it's in most package repositories for Linux, so a much better option IMO. ;)
 
 And, like fake sendmail, it works in Windows too.
 
 <p class="clearfix"></p>
 ##Prerequisites
-We are using msmtp - it probably stands for "Martin's SMTP" and it is a SMTP client which can be used instead of sendmail (fake sendmail).
+We are using [msmtp](http://msmtp.sourceforge.net/) - it probably stands for "Martin's SMTP" and it is a SMTP client which can be used instead of sendmail (fake sendmail).
 
 It is available for most OS's.
 
 
 It is a hidden directory in your system drive (normally C:) - for this example it will be `C:\ProgramData`.
 
-Download the following file: http://www.geotrust.com/resources/root_certificates/certificates/Equifax_Secure_Certificate_Authority.pem  and save it as `"ThawtePremiumServerCA_b64.txt"` in `"C:\ProgramData"`.
+Download the following file: [http://www.geotrust.com/resources/root_certificates/certificates/Equifax_Secure_Certificate_Authority.pem](http://www.geotrust.com/resources/root_certificates/certificates/Equifax_Secure_Certificate_Authority.pem)  and save it as `"ThawtePremiumServerCA_b64.txt"` in `"C:\ProgramData"`.
 
 Next, create a file called `msmtprc.txt` in `"C:\ProgramData"`, with the following contents:
 
 
 It should output a lot of debug information, and hopefully execute without an error.
 
-If you do get an authentication error, you need to add an entry to the Application-specific passwords in your Google account settings: https://www.google.com/settings/security
+If you do get an authentication error, you need to add an entry to the Application-specific passwords in your Google account settings: [https://www.google.com/settings/security](https://www.google.com/settings/security)
 
 ###PHP
 Edit the PHP configuration file. In Linux:

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

 Disqusid: /blog-to-basics
 ogimage: flatfile.jpg
 thumb: flatfile%20(Custom).jpg
+Keywords: cms, phile, philecms, flat, file, flatfile, blog, blogging, php, database
  -->
-Okay, so let's start writing. :)
-
 <div markdown=1 style="margin-right:10px;" class="left gallery">
-[![Flat file cabinet][1]][2]
+![Flat file cabinet][1]
 [1]: %base_url%/content/images/flatfile%20(Mobile).jpg "Flat file cabinet" {.th}
-[2]: %base_url%/content/images/flatfile.jpg "Flat file cabinet" {.sb}
 </div>
+/* TEAM */
+	Chef: Jacob 'jacmoe' Moen
+	Contact: mail [at] jacmoe [dot] dk
+	Twitter: @jacmoe
+	Google+: https://plus.google.com/100178862812199164136/posts
+	From: Holbaek, Denmark
+
+/* SITE */
+	Last update:2011/05/12
+	Language: English
+	Doctype: HTML5
+	IDE: Aptana Studio 3, Notepad++

File themes/foundation/footer.html

   <div class="footer">
-  <div class="row">
-  	<div class="large-12 columns">
-  		<footer id="footer">
-  			<p class="copyright">
-  		      <a href="https://github.com/PhileCMS/Phile">Phile</a> was made by <a href="https://github.com/PhileCMS">The PhileCMS Community</a>.
+<div class="row">
+    <div class="medium-4 medium-4 push-8 columns">
+      <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."
+        src="https://secure.newdream.net/green3.gif" height="15" width="80" /></a></li>
+<!--           <li><a href="{{ base_url }}/humans.txt"><img title="Made by humans" alt="Made by humans" src="{{ theme_url }}/img/humanstxt-isolated-blank.gif"/></a></li> -->
+          <!-- <li><a href="/contact" class="mail">saf</a></li> -->
+          <li><a href="https://github.com/PhileCMS/Phile" class="phile-logo" title="Site powered by Phile"></a></li>
+        </ul>
+     </div>
+     <div class="medium-8 medium-8 pull-4 columns">
+        <span class="jacmoes-logo regular"></span>
+        <ul class="jacmoes-links">
+          <li><a href="/">Home</a></li>
+          <li><a href="/blog">Blog</a></li>
+          <li><a href="/projects">Projects</a></li>
+          <li><a href="/about">About</a></li>
+<!--           <li><a href="http://zurb.com/contact">Contact</a></li>
+          <li><a href="http://zurb.com/sitemap">Sitemap</a></li>
+ -->       </ul>
+       <p class="copyright">&copy; 2010 - 2013 by <a href="https://plus.google.com/100178862812199164136?rel=author">Jacob Moen</a> All rights reserved.</p>
+    </div>          
+  </div>
 
-  			</p><p></p>
-  		  </footer>
-  	</div>
-  </div>
-  </div>
+</div>
 
   <script src="{{ theme_url }}/bower_components/jquery/jquery.min.js"></script>
 

File themes/foundation/img/humanstxt-isolated-blank.gif

Added
New image

File themes/foundation/img/logo.png

Added
New image

File themes/foundation/img/phile-logo.png

Added
New image

File themes/foundation/navigation.html

         </li>
         <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
       </ul>
-
       <section class="top-bar-section">
         <!-- Left Nav Section -->
         <ul class="right">

File themes/foundation/scss/app.scss

 /* Height and margin */
 $topbar-height: 55px;
 $topbar-margin-bottom: rem-calc(85);
+$include-open-sans: false;
 
 @import "settings";
 @import "foundation";
 
+.footer ul.jacmoes-links li {
+display: block;
+float: left;
+margin-left: 6px;
+text-transform: uppercase;
+font-weight: 700;
+font-size: 0.77778rem;
+}
+.footer ul.jacmoes-links {
+margin: 0;
+display: inline-block;
+}
+
+.footer ul.home-social li {
+list-style: none;
+display: block;
+float: left;
+margin-left: 10px;
+}
+
+.footer span.jacmoes-logo {
+color: #858585;
+font-weight: normal;
+background: url(../img/logo.png) no-repeat 0 3px;
+padding: 36px 0 0 0;
+font-size: 0.88889rem;
+display: inline-block;
+width: 36px;
+}
+
+.dreamlink img{
+  margin-top: 14px;
+}
+
+.footer a.phile-logo {
+color: #858585;
+font-weight: normal;
+background: url(../img/phile-logo.png) no-repeat 0 3px;
+padding: 44px 0 0 0;
+font-size: 0.88889rem;
+display: inline-block;
+width: 36px;
+}
+
 .footer {
 background: #333333;
 padding: 24px 0 10px;