Commits

Jacob Moen  committed 2d259e4

Lots of changes. Mainly related to logic but also bringing the site to a finished state.

  • Participants
  • Parent commits 06d9710

Comments (0)

Files changed (70)

 # to the main server config file (usually called `httpd.conf`), you should add
 # this logic there: http://httpd.apache.org/docs/current/howto/htaccess.html.
 
+
+# ##############################################################################
+# # Redirect for PHP                                                           #
+# ##############################################################################
+
+<IfModule mod_rewrite.c>
+    # Enable URL rewriting
+    RewriteEngine On
+
+    # Strip unwanted query strings from the url
+    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^?]*)\? 
+    RewriteRule (.*) /$1? [R=301,L]
+ 
+    # Change this path, if you have installed PhileCMS in a subdirectory of the website root.
+    # RewriteBase /
+
+    RewriteCond %{REQUEST_FILENAME} !-f
+    RewriteCond %{REQUEST_FILENAME} !-d
+    RewriteCond %{REQUEST_FILENAME} !-l
+
+    RewriteRule .* index.php [L]
+
+    RewriteCond %{THE_REQUEST} ^.*\/index\.php\ HTTP/
+    RewriteRule ^(.*)index\.php$ /$1 [R=301,L]
+</IfModule>
+
 # ##############################################################################
 # # Redirect Old Links                                                         #
 # ##############################################################################
 redirect 301 /new-ogre-wiki http://www.jacmoe.dk/blog/2010/june/new-ogre-wiki
 redirect 301 /mercurial-1-5-on-dreamhost http://www.jacmoe.dk/blog/2010/june/mercurial-1-5-on-dreamhost
 
-redirect 301 /page/about http://www.jacmoe.dk/about
-redirect 301 /page/projects http://www.jacmoe.dk/projects
+redirect 301 /page/about http://jacmoe.dk/about
+redirect 301 /page/projects http://jacmoe.dk/projects
 
-# ##############################################################################
-# # Redirect for PHP                                                           #
-# ##############################################################################
-
-<IfModule mod_rewrite.c>
-    # Enable URL rewriting
-    RewriteEngine On
-
-    # Strip unwanted query strings from the url
-    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^?]*)\? 
-    RewriteRule (.*) /$1? [R=301,L]
- 
-    # Change this path, if you have installed PhileCMS in a subdirectory of the website root.
-    # RewriteBase /
-
-    RewriteCond %{REQUEST_FILENAME} !-f
-    RewriteCond %{REQUEST_FILENAME} !-d
-    RewriteCond %{REQUEST_FILENAME} !-l
-
-    RewriteRule .* index.php [L]
-
-</IfModule>
-
+redirect 301 /index.php//index http://jacmoe.dk
 
 # ##############################################################################
 # # CROSS-ORIGIN RESOURCE SHARING (CORS)                                       #
 // or to make local config changes.
 $config = array();
 
-$config['site_title'] = 'Jacmoe&#039;s Cyber SoapBox'; // Site title
+$config['site_title'] = 'Jacmoes Cyber SoapBox'; // Site title
 $config['theme'] = 'foundation'; // Set the theme
 
 $config['date_format'] = 'F jS, Y'; // Set the PHP date format

File content/about.md

-<!--
-Title: About
-Description: Jacmoes is the personal home page of Jacob Moen where he writes about programming in C++ and PHP, using technologies as the 3d rendering library Ogre3D, Yii framework and more. It is also a place for personal rants and observations about programming and life in general.
-Keywords: Jacob, Moen, Jacob Moen, jacmoe, Ogre3d, Yii, PHP, programming, C++, Ogitor, Bugitor
-ogimage: /about/jacobmoen.png
-Date: 2013/01/01 03:43:00
--->
-
-###About
-
------------------------
-
-<div markdown=1 style="margin-right:10px;" class="left gallery">
-![Jacob Moen](%base_url%/content/images/about/jacobmoen.png "Me, Jacob Moen")
-</div>
-
-<div itemscope itemtype="http://schema.org/Person">
-<a itemprop="url" href="http://jacmoe.dk/about"><div itemprop="name"><strong>Jacob Moen</strong></div>
-</a>
-<div itemscope itemtype="http://schema.org/Organization"><span itemprop="name">Copenhagen Hospitality College</span></div><div itemprop="jobtitle">Apprentice chef</div>
-<div itemprop="description">What I am</div>
-<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
-<div itemprop="streetAddress">Dragerup Skovvej 1</div>
-<div><span itemprop="addressLocality">Holbæk</span>, <span itemprop="addressRegion">Zealand</span></div><div itemprop="postalCode">4300</div>
-<div itemprop="addressCountry">Denmark</div>
-</div>
-<div itemprop="email">jacmoe.dk@gmail.com</div>
-<div><meta itemprop="birthDate" content="1968-05-06">DOB: 05/06/1968</div>
-</div>
-
-
-Hi! My name is Jacob Moen and I come from Holbaek, Denmark.
-
-
-I'm a web developer and a c++ programmer. I love to dabble with different technologies, and spend far too many hours in front of my computer.
-
-
-When I'm not programming, I attend Copenhagen Hospitality College in Valby, Copenhagen where I am about to enter a chef's training program.
-
-
-Cooking is one of my original, great passions!
-
-
-
-That's it for now.
+<!--
+Title: About
+Description: Jacmoes is the personal home page of Jacob Moen where he writes about programming in C++ and PHP, using technologies as the 3d rendering library Ogre3D, Yii framework and more. It is also a place for personal rants and observations about programming and life in general.
+Keywords: Jacob, Moen, Jacob Moen, jacmoe, Ogre3d, Yii, PHP, programming, C++, Ogitor, Bugitor
+ogimage: newsiteimage.jpg
+Date: 2013/01/01 03:43:00
+-->
+
+###About
+
+-----------------------
+
+<div markdown=1 style="margin-right:10px;" class="left gallery">
+[![Jacob Moen][1]][2]
+[1]: %base_url%/content/images/about/chefsselfie%20(Custom).jpg "Jacob Moen" {.th}
+[2]: %base_url%/content/images/about/chefsselfie%20(Mobile).jpg "Jacob Moen - that is I" {.sb}
+</div>
+<div itemscope itemtype="http://schema.org/Person">
+	<a itemprop="url" href="http://jacmoe.dk/about">
+		<div itemprop="name"><strong>Jacob Moen</strong></div>
+	</a>
+	<div itemscope itemtype="http://schema.org/Organization"><span itemprop="name">Copenhagen Hospitality College</span></div>
+	<div itemprop="jobtitle">Apprentice chef</div>
+	<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
+		<div><span itemprop="addressLocality">Holbæk</span></div>
+		<div itemprop="addressCountry">Denmark</div>
+	</div>
+</div>
+<br/>
+<a href='http://www.efvi.eu/' target='_blank'><img src='http://www.efvi.eu/badge/i-support-white-180x60.png' width='180' height='60' border='0'/></a>
+<br/>
+
+<p class="clearfix"></p>
+
+I'm an apprentice chef, a web developer and a c++ programmer. When I am not spending far too many hours in front of my computer, I am receiving chef's training  at Copenhagen Hospitality College in Valby, Copenhagen.
+
+I am a hobbist gardener, an electric guitar player, ..
+
+Cooking is one of my original, great passions!
+
+<div markdown=1 style="margin-right:10px;" class="right gallery">
+[![Sisters wedding][3]][4]
+[3]: content/images/about/tj-sisters-wedding%20(Mobile).jpg "Sisters wedding" {.th}
+[4]: content/images/about/tj-sisters-wedding.jpg "Sisters wedding - Taina and me" {.sb}
+</div>
+
+Write something here.
+
+<p class="clearfix"></p>
+
+
+<div markdown=1 style="margin-right:10px;" class="left gallery">
+[![Family lunch][5]][6]
+[5]: content/images/about/familylunch%20(Mobile).jpg "Family lunch" {.th}
+[6]: content/images/about/familylunch.jpg "Family lunch - Father, wife and me" {.sb}
+</div>

File content/blog.md

 Title: Blog
 Description: Jacmoes is the personal home page of Jacob Moen where he writes about programming in C++ and PHP, using technologies as the 3d rendering library Ogre3D, Yii framework and more. It is also a place for personal rants and observations about programming and life in general.
 Keywords: Jacob, Moen, Jacob Moen, jacmoe, Ogre3d, Yii, PHP, programming, C++, Ogitor, Bugitor
-ogimage: newsiteimage.png
+ogimage: newsiteimage.jpg
 Date: 2013/01/04 03:43:00
  -->

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

 ogimage: winter.jpg
 thumb: winter%20(Custom).jpg
 Keywords: php, yii, email, configuration, localhost, remote
+blogpost: true
 -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 [![Winter in Dragerup][1]][2]

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

 Disqusid: /mercurial-1-5-on-dreamhost
 thumb: hipstercat%20(Custom).jpg
 Keywords: mercurial, dreamhost
+blogpost: true
 -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 ![I am too cool fer ma fur][1]

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

 Disqusid: /new-ogre-wiki
 thumb: ogreWiki%20(Custom).png
 Keywords: wiki, tiki, ogre3d, community, tikiwiki
+blogpost: true
 -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 ![New Ogre wiki][1]

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

 ogimage: webgrind.png
 thumb: webgrind%20(Custom).png
 Keywords: webgrind, wamp, xdebug, php
+blogpost: true
 -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 ![Webgrind in action][1]

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

 ogimage: northern-lights.jpg
 thumb: northern-lights%20(Custom).jpg
 Keywords: kde, gnome, ubuntu, visualstudio, windows, linux, kdevelop, aptosid, emacs, debian
+blogpost: true
 -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 [![Northern Lights][1]][2]

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

 ogimage: wysiwym.jpeg
 thumb: wysiwym%20(Custom).jpeg
 Keywords: editor, wysiwyg, php, jquery, ajax, yii, wymeditor, wysiwym, cms, online
+blogpost: true
 -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 [![Wymeditor][1]][2]

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

 ogimage: pyrus.jpg
 thumb: pyrus%20(Custom).jpg
 Keywords: pyrus, pear, php, pear2
+blogpost: true
  -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 [![Pyrus][1]][2]

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

 ogimage: org-mode-blogging.png
 thumb: org-mode-blogging%20(Custom).png
 Keywords: blog, org-mode, emacs
+blogpost: true
  -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 [![Emacs Org-mode Blogging][3]][4]

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

 ogimage: aptosid.png
 thumb: aptosid%20(Custom).png
 Keywords: distribution, linux, sid, rolling-release, review, kde, debian, aptosid
+blogpost: true
 -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 [![Aptosid][1]][2]

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

 ogimage: test_email.jpg
 thumb: test_email%20(Custom).jpg
 Keywords: gmail, php, windows, sendmail, wamp
+blogpost: true
 -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 ![Email Magic][1]

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

 ogimage: virtual_hosts_diagram_1.jpg
 thumb: virtual_hosts_diagram_1%20(Custom).jpg
 Keywords: localhost, arch, php, web, virtualhost, apache, linux
+blogpost: true
 -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 ![Apache Virtual Hosts][1]

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

 ogimage: blank_keyboard.jpg
 thumb: blank_keyboard%20(Custom).jpg
 Keywords: colemak, layout, blank, l33t, typing, keyboard, programming, dasKeyboard, touch, touchtyping
+blogpost: true
  -->
 
 <div markdown=1 style="margin-right:10px;" class="left gallery">

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

 ogimage: magnifyingglass.png
 thumb: magnifyingglass%20(Custom).png
 Keywords: challenges, 2012, guitar, todo, list, year, new, personal, python, django, ogre3d, emacs
- -->
+blogpost: true
+-->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 [![Infinite magnifying glass][1]][2]
 [1]: %base_url%/content/images/magnifyingglass%20(Mobile).png "Infinite magnifying glass" {.th}

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

 ogimage: email-at-work.jpg
 thumb: email-at-work%20(Custom).jpg
 Keywords: windows, linux, sendmail, php, gmail, msmtp, wamp, email, programming, uniformserver
+blogpost: true
  -->
 
 <div markdown=1 style="margin-right:10px;" class="left gallery">

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
+Date: 2014/01/24 05:29 
+Datetime: 2014-01-24
 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
 ogimage: not-dead-yet.jpg
 thumb: not-dead-yet%20(Custom).jpg
-Keywords: kicking, alive, still here, status update, transformation, midlife crisis, off-line, on-line, reflection, walkabout
+Keywords: kicking, alive, still here, still kicking, status update, reflection, walkabout, change, transformation
+blogpost: true
  -->
 <div markdown=1 style="margin-right:10px;" class="left gallery">
 ![Not dead yet][1]
 ![Still kicking][2]
 [2]: %base_url%/content/images/notdeadyet.jpg "Still kicking" {.th}
 </div>
-
-###Midlife Crisis
-And will be here more
 <p class="clearfix"></p>
 
 <div markdown=1 style="margin-right:10px;" class="left gallery">
-![Definitely not dead!][3]
-[3]: content/images/not-dead%20(Mobile).png "Definitely not dead!" {.th}
+![Super Computer Nerd][3]
+[3]: %base_url%/content/images/super_computer_nerd.jpg "Super Computer Nerd" {.th}
 </div>
+<p class="clearfix"></p>
 
-###Midlife Transformation
-Expect to see more RSN
+<div markdown=1 style="margin-right:10px;" class="right gallery">
+[![Ribot Theodule - The Cook And The Cat][4]][5]
+[4]: %base_url%/content/images/Ribot_Theodule_The_Cook_And_The_Cat-1%20(Mobile).jpg "Ribot Theodule - The Cook And The Cat" {.th}
+[5]: %base_url%/content/images/Ribot_Theodule_The_Cook_And_The_Cat-1.jpg "Ribot Theodule - The Cook And The Cat" {.sb}
+</div>
+<p class="clearfix"></p>

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
-ogimage: flatfile.jpg
-thumb: flatfile%20(Custom).jpg
-Keywords: cms, phile, philecms, flat, file, flatfile, blog, blogging, php, database
- -->
-<div markdown=1 style="margin-right:10px;" class="left gallery">
-![Flat file cabinet][1]
-[1]: %base_url%/content/images/flatfile%20(Mobile).jpg "Flat file cabinet" {.th}
-</div>
-Until a few days ago, my blog was powered by my own software, based on Yii. And it used a database, had a login, and featured an editor. You could add and remove pages, upload files and even have it generate thumbnails.
-
-But it was slow, cumbersome to use and maintain, and - obviously - failed to inspire me to write good blog posts.
-
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-The main problem was the editor. I've tried numerous different kinds of editors over the years. All kinds. Visual, textual, markup, plain text, minimal and full blown.  
-And it all sucked. Either because it messed up the layout, had too many or too few features, and either got in the way or did too little.
-
-I found myself installing too many widgets and third party libs, and the database was growing in size. Not really due to the actual blog posts, but what was built around them.
-
-I wanted something truly minimal, instead of a monster package.  
-And then I started to search around for alternatives.
-
-So, after having neglegted my blog for a long, long time, mainly due to the cumbersome blog entry editing interface, I have now rewritten it to use Philo instead of my own forum software based on Yii.
-
-Jekyll  
-Kirby  
-Ghost  
-AnchorCMS  
-Pico  
-Dropplets  
-Octopress  
-Statamic
-
-YSlow 90  
-PageSpeed 91
-
-
-Security: no forms, no input
-SQL injection
-XSS cross-site scripting
-passwords
-file uploading
+<!--
+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
+ogimage: flatfile.jpg
+thumb: flatfile%20(Custom).jpg
+Keywords: cms, phile, philecms, flat, file, flatfile, blog, blogging, php, database
+blogpost: true
+-->
+<div markdown=1 style="margin-right:10px;" class="left gallery">
+![Flat file cabinet][1]
+[1]: %base_url%/content/images/flatfile%20(Mobile).jpg "Flat file cabinet" {.th}
+</div>
+Until a few days ago, my blog was powered by my own software, based on Yii. And it used a database, had a login, and featured an editor. You could add and remove pages, upload files and even have it generate thumbnails.
+
+But it was slow, cumbersome to use and maintain, and - obviously - failed to inspire me to write good blog posts.
+
+<br/>
+<br/>
+<br/>
+<br/>
+<br/>
+<br/>
+<br/>
+<br/>
+The main problem was the editor. I've tried numerous different kinds of editors over the years. All kinds. Visual, textual, markup, plain text, minimal and full blown.  
+And it all sucked. Either because it messed up the layout, had too many or too few features, and either got in the way or did too little.
+
+I found myself installing too many widgets and third party libs, and the database was growing in size. Not really due to the actual blog posts, but what was built around them.
+
+I wanted something truly minimal, instead of a monster package.  
+And then I started to search around for alternatives.
+
+So, after having neglegted my blog for a long, long time, mainly due to the cumbersome blog entry editing interface, I have now rewritten it to use Philo instead of my own forum software based on Yii.
+
+Jekyll  
+Kirby  
+Ghost  
+AnchorCMS  
+Pico  
+Dropplets  
+Octopress  
+Statamic
+
+YSlow 90  
+PageSpeed 91
+
+
+Security: no forms, no input
+SQL injection
+XSS cross-site scripting
+passwords
+file uploading

File content/images/Ribot_Theodule_The_Cook_And_The_Cat-1 (Mobile).jpg

Added
New image

File content/images/Ribot_Theodule_The_Cook_And_The_Cat-1.jpg

Added
New image

File content/images/about/chefsselfie (Custom).jpg

Added
New image

File content/images/about/chefsselfie (Mobile).jpg

Added
New image

File content/images/about/chefsselfie.jpg

Added
New image

File content/images/about/familylunch (Custom).jpg

Added
New image

File content/images/about/familylunch (Mobile).jpg

Added
New image

File content/images/about/familylunch.jpg

Added
New image

File content/images/about/fc-webicon-bitbucket-m.png

Added
New image

File content/images/about/fc-webicon-bitbucket-s.png

Added
New image

File content/images/about/fc-webicon-facebook-m.png

Added
New image

File content/images/about/fc-webicon-facebook-s.png

Added
New image

File content/images/about/fc-webicon-github-m.png

Added
New image

File content/images/about/fc-webicon-github-s.png

Added
New image

File content/images/about/fc-webicon-googleplus-m.png

Added
New image

File content/images/about/fc-webicon-googleplus-s.png

Added
New image

File content/images/about/fc-webicon-linkedin-m.png

Added
New image

File content/images/about/fc-webicon-linkedin-s.png

Added
New image

File content/images/about/fc-webicon-mail-m.png

Added
New image

File content/images/about/fc-webicon-mail-s.png

Added
New image

File content/images/about/fc-webicon-mercurial-m.png

Added
New image

File content/images/about/fc-webicon-mercurial-s.png

Added
New image

File content/images/about/fc-webicon-pinterest-m.png

Added
New image

File content/images/about/fc-webicon-pinterest-s.png

Added
New image

File content/images/about/fc-webicon-rss-m.png

Added
New image

File content/images/about/fc-webicon-rss-s.png

Added
New image

File content/images/about/fc-webicon-skype-m.png

Added
New image

File content/images/about/fc-webicon-skype-s.png

Added
New image

File content/images/about/fc-webicon-stackoverflow-m.png

Added
New image

File content/images/about/fc-webicon-stackoverflow-s.png

Added
New image

File content/images/about/fc-webicon-twitter-m.png

Added
New image

File content/images/about/fc-webicon-twitter-s.png

Added
New image

File content/images/about/tj-sisters-wedding (Mobile).jpg

Added
New image

File content/images/about/tj-sisters-wedding.jpg

Added
New image

File content/images/newsiteimage.jpg

Added
New image

File content/images/not-dead (Mobile).png

Removed
Old image

File content/images/not-dead.png

Removed
Old image

File content/images/super_computer_nerd (Mobile).jpg

Added
New image

File content/images/super_computer_nerd.jpg

Added
New image

File content/index.md

 Title:
 Description: Jacmoes is the personal home page of Jacob Moen where he writes about programming in C++ and PHP, using technologies as the 3d rendering library Ogre3D, Yii framework and more. It is also a place for personal rants and observations about programming and life in general.
 Keywords: Jacob, Moen, Jacob Moen, jacmoe, Ogre3d, Yii, PHP, programming, C++, Ogitor, Bugitor
-ogimage: newsiteimage.png
+ogimage: newsiteimage.jpg
 Date: 2013/01/05 03:43:00
 -->
 ------------------------
 
 <div markdown=1 style="margin-right:10px;" class="left gallery">
-![Wet paint!](content/images/wetpaint.jpg "Wet paint!")
+![Jacob Moen](%base_url%/content/images/about/chefsselfie%20(Custom).jpg "Jacob Moen") {.th}
 </div>
+<div itemprop="about" markdown=1>
+Jacmoes is the personal home page of Jacob Moen where he writes about programming in C++ and PHP, using technologies as the 3d rendering library Ogre3D, Yii framework and more. It is also a place for personal rants and observations about programming and life in general.  
 
-Busy setting up a new version of my homepage, so there will be wet paint in many places.
-
-And even content missing. :)
+Enjoy your stay ;)
 
 ---------------------------
+<br/>
+<a href='http://www.efvi.eu/' target='_blank'><img src='http://www.efvi.eu/badge/i-support-white-180x60.png' width='180' height='60' border='0'/></a>
+<br/>
 
+</div>
 **Latest blog post:**
 
-<article role="article" itemscope="" itemtype="http://schema.org/BlogPosting">
+<article  itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
                                     <div class="row">
                                         <div class="large-3 columns">
                                             <div><br></div>

File content/projects.md

 Title: Projects
 Description: Jacmoes is the personal home page of Jacob Moen where he writes about programming in C++ and PHP, using technologies as the 3d rendering library Ogre3D, Yii framework and more. It is also a place for personal rants and observations about programming and life in general.
 Keywords: Jacob, Moen, Jacob Moen, jacmoe, Ogre3d, Yii, PHP, programming, C++, Ogitor, Bugitor
-ogimage: newsiteimage.png
+ogimage: newsiteimage.jpg
 Date: 2013/01/02 03:43:00
  -->
 ###Projects
 
-------------------
+------------------
+
+sdfsadf  
+sadf  
+sadf  
+sadf  
+sadf  
+sadf  
+sdf

File favicon.ico

Old
Old image
New
New image

File plugins/phileRSSFeed/config.php

 
 return array(
 	'feed_url' => '/feed', // the url that the feed should exist at
-	'post_key' => '' // the unique meta attribute that only posts have
+	'post_key' => 'blogpost' // the unique meta attribute that only posts have
 	);

File themes/foundation/footer.html

-        <footer class="footer" role="contentinfo">
-            <div class="footer-row">
-                <div class="footer-mainnav">
-                    <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 - 2014 by <a href="https://plus.google.com/100178862812199164136?rel=author">Jacob Moen</a> All rights reserved.</p>
-                </div> <!-- 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."
-                        src="{{ theme_url }}/img/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="http://philecms.github.io/Phile/" class="phile-logo" title="Site powered by Phile"></a></li>
-                    </ul>
-                </div> <!-- columns -->
-            </div> <!-- row -->
-        </footer>
-
+        <div id="footerwrap">
+            <footer class="footer" role="contentinfo">
+                <div class="footer-row">
+                    <div class="footer-mainnav">
+                        <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 - 2014 by <a href="https://plus.google.com/100178862812199164136?rel=author">Jacob Moen</a> - All rights reserved.</p>
+                    </div> <!-- columns -->
+                    <div class="footer-buttons">
+                        <ul class="home-social">
+                            <li><a class="dreamlink" target='_blank' 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="{{ theme_url }}/img/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 target='_blank' href="http://philecms.github.io/Phile/" class="phile-logo" title="Site powered by Phile"></a></li>
+                            <li><a href='http://www.efvi.eu/' target='_blank'><img src='http://www.efvi.eu/badge/i-support-black-125x50.png' width='125' height='50' border='0'/></a></li>
+                        </ul>
+                    </div> <!-- columns -->
+                </div> <!-- row -->
+            </footer>
+        </div>
         <script src="{{ theme_url }}/bower_components/jquery/jquery.min.js"></script>
 
         <script src="{{ theme_url }}/bower_components/foundation/js/foundation.min.js"></script>

File themes/foundation/header.html

 {% endif %}{% if meta.updated %}
         <meta itemprop="dateModified" content="{{ meta.updated|date("Y-m-d") }}">
 {% endif %}
-        <meta property="og:title" content="{{ current_page.title }} | {{ site_title }}" />
-        <meta property="og:url" content="{{ base_url }}/{% if current_page.title != 'Jacmoes Cyber Soapbox' %}{{ current_page.url }}{% endif %}" />
+        <meta property="og:title" content="{% if current_page.title != '' %}{{ current_page.title }} | {% endif %}{{ site_title }}" />
+        <meta property="og:url" content="{{ base_url }}/{% if current_page.title != '' %}{{ current_page.url }}{% endif %}" />
         <meta property="og:site_name" content="{{ site_title }}" />
         <meta property="og:image" content="{{ base_url }}/content/images/{{ current_page.meta.ogimage }}" />
 
         <meta name="twitter:card" content="summary" />
-        <meta name="twitter:url" content="{{ base_url }}/{% if current_page.title != 'Jacmoes Cyber Soapbox' %}{{ current_page.url }}{% endif %}" />
-        <meta name="twitter:title" content="{{ current_page.title }} | {{ site_title }}" />
+        <meta name="twitter:url" content="{{ base_url }}/{% if current_page.title != '' %}{{ current_page.url }}{% endif %}" />
+        <meta name="twitter:title" content="{% if current_page.title != '' %}{{ current_page.title }} | {% endif %}{{ site_title }}" />
         <meta name="twitter:description" content="{{ meta.description }}" />
         <meta name="twitter:image" content="{{ base_url }}/content/images/{{ current_page.meta.ogimage }}" />
         <meta name="twitter:site" content="@jacmoe" />
         <link rel="author" href="https://plus.google.com/u/0/100178862812199164136" >
 
         <!-- Canonical Url for Google Plus -->
-        <link rel="canonical" href="{{ base_url }}/{% if current_page.title != 'Jacmoes Cyber Soapbox' %}{{ current_page.url }}{% endif %}" />
+        <link rel="canonical" href="{{ base_url }}/{% if current_page.title != '' %}{{ current_page.url }}{% endif %}" />
 
         <meta property="fb:app_id"               content="388074334620118">
 

File themes/foundation/index.html

 {# any markdown file that does not have a template set will use this index.html file to display their contents #}
 {% include 'header.html' with {'type': 'index'} %}
 {% include 'navigation.html' %}
-        <main id="content" role="main">
+{% if current_page.title == 'Blog' or current_page.title == '' %}
+        <main id="content" role="main" itemscope itemtype="http://schema.org/Blog">
+{% else %}
+        <main id="content" role="main" itemscope itemtype="http://schema.org/WebPage">
+{% endif %}
             <div class="row">
                 <div class="large-12 columns">
                     <ul id="paging-nav" class="right bloglist"></ul>
 {% if current_page.title != 'Error 404' %}
 {% if current_page.url == '/index' %}
                         <div class="right" id="shareme1">
+{% if base_url != 'http://jacmoe' %}
 {% include 'shareme_front.html' %}
+{% endif %}
                         </div>
 {% endif %}
 {% if current_page.url != '/index' %}
                         <div class="right" id="shareme1">
+{% if base_url != 'http://jacmoe' %}
 {% include 'shareme.html' %}
+{% endif %}
                         </div>
 {% endif %}
 {% endif %}
 {# check if the page uses the post template #}
 {% if page.meta.template == 'post' %}
                                     <!-- Blog Entry -->
-                                    <article role="article" itemscope itemtype="http://schema.org/BlogPosting">
+                                    <article role="article" itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
                                         <div class="row">
                                             <div class="large-3 columns">
                                                 <div><br/></div>

File themes/foundation/post.html

             <div class="row">
                 <div class="large-12 columns">
                     <div class="right" id="shareme1">
+{% if base_url != 'http://jacmoe' %}
 {% include 'shareme.html' %}
+{% endif %}
                     </div>
                     <section id="content">
-                        <article role="article" itemscope itemtype="http://schema.org/BlogPosting">
+                        <article role="article" itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
 {# use the current page meta to show some info about this post #}
                             <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>
+                            <span class="post-date"><em><time itemprop="dateCreated" datetime="{{ current_page.meta.datetime }}">{{ current_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/>
                             <span class="post-date"><em>Published {{ current_page.meta.date|date(config.date_format) }}.</em></span>
                             <div class="right" id="shareme2">
+{% if base_url != 'http://jacmoe' %}
 {% include 'shareme.html' %}
+{% endif %}
                             </div>
                             <hr/>
                             <p><div id="disqus_thread"></div></p>

File themes/foundation/scss/_footer.scss

 .footer {
   background: #333333;
   padding: 24px 0 10px;
-  min-height: 140px;
+  height: 140px;
 }
 
 .footer ul li a {

File themes/foundation/scss/app.scss

 @import "postpager";
 
 
+html {
+  overflow: -moz-scrollbars-vertical;
+  overflow-y: scroll;
+}
+
 #header {
   margin-bottom: 1em;
 }
 #scrollUp-active{
   display: none;
 }
+
+@import "compass/layout/sticky-footer";
+
+//@include sticky-footer(140px, "#main", "#root_footer", "#footerwrap");
+
+img {
+  max-width: 100%;
+}
+
+.gallery {
+  max-width: 100%;
+}

File themes/foundation/shareme_front.html

 						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" 
+<!-- 					<li><a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://jacmoe.dk/&amp;title={{ current_page.meta.title }}" 
+						class="socialite linkedin-share" data-url="http://jacmoe.dk/" data-counter="top" 
 						rel="nofollow" target="_blank">
 						<span class="vhidden">Share on LinkedIn</span></a></li>
-				</ul>
+ -->				</ul>