This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Will Gretz
authored and
Will Gretz
committed
Dec 8, 2011
1 parent
c1e42e0
commit 20730f0
Showing
17 changed files
with
80 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
env: dev | ||
permalink: pretty | ||
env: prod | ||
permalink: /:year/:month/:day/:title.html | ||
pygments: true | ||
markdown: rdiscount |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
</head> | ||
<body> | ||
<div class="wrapper"> | ||
<header> | ||
<a href="/" id="masthead">Will Gretz</a> | ||
<ul> | ||
<li><a href="/resume">Resume</a></li> | ||
<li><a href="/about">About Me</a></li> | ||
<li><a href="/">Blog</a></li> | ||
</ul> | ||
</header> | ||
<header> | ||
<a href="/" id="masthead">Will Gretz</a> | ||
<ul> | ||
<li><a href="/resume">Resume</a></li> | ||
<li><a href="/about">About Me</a></li> | ||
<li><a href="/">Blog</a></li> | ||
</ul> | ||
</header> | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
layout: post | ||
title: Life & Jekyll | ||
--- | ||
So it's been 8 months since I last wrote an article. Life got a little hectic. The company I was working for found itself with two large projects back to back. When I originally got hired on we were just starting out upgrading there application from Rails 1.2.6 to Rails 3. Besides just making a huge jump in the framework we were also moving some of our data from Postgres to MongoDB. Right after this project ended we began adding functionality so that our software met government requirements so that our customers could get some stimulous checks. Needless to say there ended up being several 80 hour weeks in the end. | ||
|
||
Well now that all that stuff is over I am finally getting back to working on my own stuff in my off time. I decided it was time to get this site more up to date. I'm still a big fan of Jekyll at this point and have been looking in to how to further customize it so that it meets my needs. The first thing I've implemented in the past couple of days is to remove the trailing slashes from urls. When I first built this blog I really liked the permalink style "pretty". But later on I realized all the links I was looking at had a trailing slash that I was not fond of. After a little bit of research I discovered a property in apache called multiview. I found this [article](http://paulstamatiou.com/how-to-wordpress-to-jekyll) very useful when trying to implement multiview in Jekyll. I had to add this line to my .htaccess file: | ||
|
||
{% highlight apache %} | ||
Options +MultiViews | ||
{% endhighlight %} | ||
|
||
At first I tried to just create an .htaccess file, but every time I regenerated the site the .htaccess file was not present in the newly compiled version. One workaround I found was to name the file with out a period in front of the file and instead in the yaml for the file set the permalink to .htaccess. Another thing I learned in the process of updating this site is that code highlighting in Jekyll version 0.11.0 does not work with Liquid version 2.3.0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
require "yaml" | ||
http_path = "/" | ||
sass_dir = "_sass" | ||
|
||
config = YAML.load(File.read("_config.yml")) | ||
if config["env"] == "dev" | ||
css_dir = "_site/stylesheets" | ||
output_style = :expanded | ||
else | ||
css_dir = "stylesheets" | ||
output_style = :compressed | ||
end | ||
css_dir = "stylesheets" | ||
output_style = :compressed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
permalink: .htaccess | ||
--- | ||
RewriteEngine On | ||
Options +MultiViews |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
--- | ||
layout: default | ||
--- | ||
Something | ||
<h2>HTML version coming soon.</h2> | ||
<p>In the meantime <a href="/assets/WillGretzResume.pdf">download</a> a PDF version.</p> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.