This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
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
Showing
16 changed files
with
318 additions
and
23 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,3 +1,2 @@ | ||
env: dev | ||
pygments: true | ||
env: prod | ||
permalink: pretty |
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,7 +1,35 @@ | ||
<div class="push"></div> | ||
</div> | ||
<footer> | ||
© 2010 Will Gretz | ||
</footer> | ||
<footer> | ||
<p>© 2010 Will Gretz</p> | ||
</footer> | ||
</div><script type="text/javascript"> | ||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ | ||
var disqus_developer = 1; // this would set it to developer mode | ||
var disqus_shortname = 'willgretz'; // required: replace example with your forum shortname | ||
|
||
/* * * DON'T EDIT BELOW THIS LINE * * */ | ||
(function () { | ||
var s = document.createElement('script'); s.async = true; | ||
s.type = 'text/javascript'; | ||
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js'; | ||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); | ||
}()); | ||
|
||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
|
||
var _gaq = _gaq || []; | ||
_gaq.push(['_setAccount', 'UA-22490515-1']); | ||
_gaq.push(['_trackPageview']); | ||
|
||
(function() { | ||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | ||
</script> | ||
</body> | ||
</html> |
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
module Jekyll | ||
|
||
class Site | ||
|
||
def nonprojectposts | ||
post_col = [] | ||
self.posts.each do |post| | ||
post_col << post unless post.categories.include?("projects") | ||
end | ||
|
||
return post_col.reverse | ||
end | ||
|
||
# Redefine site_payload to include our posts by year. This is ugly | ||
# but I don't know how else to do this without changing the jekyll code | ||
# itself. #rubynoob | ||
def site_payload | ||
{"site" => self.config.merge({ | ||
"time" => self.time, | ||
"posts" => self.posts.sort { |a,b| b <=> a }, | ||
"pages" => self.pages, | ||
"html_pages" => self.pages.reject { |page| !page.html? }, | ||
"categories" => post_attr_hash('categories'), | ||
"tags" => post_attr_hash('tags'), | ||
"nonprojectposts" => self.nonprojectposts | ||
})} | ||
end | ||
|
||
end | ||
|
||
end |
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,6 @@ | ||
--- | ||
layout: post | ||
categories: projects | ||
preview: this-site1.png | ||
--- | ||
Testing |
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 @@ | ||
--- | ||
title: Introductions | ||
layout: post | ||
categories: personal programming introductions | ||
--- | ||
|
||
My site has gone through several incarnations. Hundreds if you count the sites I used to make when I first began learning html in middle school. I've always had problems finishing them and commiting to a design. | ||
|
||
Once I began learning to program I tried several times to build a blog of my own design. I'd always get close to something I liked and then would decide I wanted to try a new technology or add a new feature to it and so I never got anything finished with it. Recently I decided to learn how [Wordpress](http://wordpress.com) worked in an attempt to build something for a few friends projects. Several things got in the way of finishing learning wordpress and I decided I needed a blog now so I can share with the world, or at least so I don't forget what I learned. And I decided instead of trying to adapt my rails site into a wordpress template Instead of screwing around trying to convert html pages into a wordpress template and learn the ins and outs of how wordpress structures its files. | ||
|
||
And I wrote everything before this over a month ago. The processes I needed to record are currently being put into a presentation by a coworker [Chris Reister](http://chrisreister.com) and will hopefully be posted up here later, as well as at his site. The main reason I've decided to come back to this project is recently one of my cousins started a blog of his own and has kind of made me want to finish my own blog. | ||
|
||
So that's that. I've finally got my first blog article written up, and I am mostly happy with the layout of the site, I've got a few tweaks here and there and finish up writing content for other unpublished pages. Hopefully it won't take me a few more months to write a second blog article. |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: default | ||
--- | ||
<div id="content-column"> | ||
<p>I'm a 22 year old web developer, a gamer and husband. I am currently taking a break from school but would love to eventually go back and either get a BS in computer science or a degree in business.</p> | ||
<p>I've had a passion for building web pages since Jr. High. However after high school I really wanted to go to College and study psychology, but after figuring out how long I'd need to be in school I thought I should get a degree in web development so I could make some money and go back to get a degree in psychology. However after a few quarters I was thoroughly hooked on developing web applications.</p> | ||
<p>When I'm not working on a something for my employer or a personal project I like to spend time with my wife and friends playing board or card games.</p> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{% for post in site.posts limit:5 %} | ||
<article><h2><a href="{{post.url}}">{{post.title}}</a></h2> | ||
<p>{{post.date | date: "%B %d, %Y" }}</p> | ||
</article> | ||
{% endfor %} | ||
<div id="content-column"> | ||
<div id="most-recent"> | ||
{% for post in site.nonprojectposts limit:1 %} | ||
<h2>{{ post.title }}</h2> | ||
<p class="byline">Posted {{post.date | date: "%B %e, %Y"}} in {{post.categories | array_to_sentence_string }}</p> | ||
{{post.content}} | ||
<p><a href="{{post.url}}#disqus_thread">Comments</a></p> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
<div id="column"> | ||
{% for post in site.nonprojectposts %} | ||
<li><a href="{{post.url}}">{{post.title}}</a><br /> | ||
<span>{{post.date | date: "%B %e, %Y" }}</li> | ||
{% endfor %} | ||
</div> |
Oops, something went wrong.