Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Re-arrange blog to work with Jekyll

This format allows you to use site.posts to iterate over all the pages
while maintaining existing URLs
  • Loading branch information...
commit b2a2fc083985162e2a33953fe65f1bd425fc5cb8 1 parent 8f82722
@johnmuhl johnmuhl authored
View
2  _config.yml
@@ -1,5 +1,5 @@
auto: true
exclude: [bin, CNAME, Gemfile, Gemfile.lock, README.md]
markdown: rdiscount
-permalink: none
+permalink: /:title
safe: true
View
2  blog/hello_world.md → blog/_posts/2011-08-20-hello_world.md
@@ -2,7 +2,7 @@
title: Hello, World
layout: en
created_at: Sat Aug 20 18:52:26 EDT 2011
-permalink: hello_world/
+permalink: blog/hello_world
---
puts "Hello, world!"
View
2  blog/big_refactoring.md → blog/_posts/2011-08-29-big_refactoring.md
@@ -2,7 +2,7 @@
title: A Big Refactoring!
layout: en
created_at: Mon Aug 29 12:29:26 EDT 2011
-permalink: big_refactoring/
+permalink: blog/big_refactoring
---
We've just rolled out a big refactoring to the Travis CI [application](https://github.com/travis-ci/travis-ci)
View
2  blog/vm_upgrade_oct_31_2011.md → blog/_posts/2011-10-31-vm_upgrade.md
@@ -2,7 +2,7 @@
title: VM environment upgrade, Oct 31st, 2011
layout: en
created_at: Mon Oct 31 16:26:26 EDT 2011
-permalink: vm_upgrade_oct_31_2011/
+permalink: blog/vm_upgrade_oct_31_2011
---
travis-ci.org Ruby workers were upgraded to provide the following:
View
2  blog/first_class_nodejs_support_on_travis_ci.md → ...-11-09-first_class_nodejs_support_on_travis_ci.md
@@ -2,7 +2,7 @@
title: Announcing "first class" Node.js project support!
layout: en
created_at: Wed Nov 9 13:00:00 EDT 2011
-permalink: first_class_nodejs_support_on_travis_ci/
+permalink: blog/first_class_nodejs_support_on_travis_ci
---
One of the things people keep asking us is when language X will be a first class citizen on Travis-CI.
View
2  blog/vm_upgrade_nov_11_2011.md → blog/_posts/2011-11-11-vm_upgrade.md
@@ -2,7 +2,7 @@
title: VM environment upgrade, Nov 11th, 2011
layout: en
created_at: Fri Nov 11 02:18:00 EDT 2011
-permalink: vm_upgrade_nov_11_2011/
+permalink: blog/vm_upgrade_nov_11_2011
---
travis-ci.org Ruby workers were upgraded, here is what's new:
View
2  blog/first_class_php_support_on_travis_ci.md → ...011-11-13-first_class_php_support_on_travis_ci.md
@@ -2,7 +2,7 @@
title: Announcing "first class" PHP project support!
layout: en
created_at: Sun Nov 13 12:08:00 EDT 2011
-permalink: first_class_php_support_on_travis_ci/
+permalink: blog/first_class_php_support_on_travis_ci
---
Today we are happy to announce first class PHP support with Travis CI.
View
2  ...support_for_java_scala_and_groovy_on_travis_ci.md → ...support_for_java_scala_and_groovy_on_travis_ci.md
@@ -2,7 +2,7 @@
title: Announcing Java, Scala and Groovy project support on travis-ci.org
layout: en
created_at: Tue Feb 21 15:00:00 CDT 2012
-permalink: announcing_support_for_java_scala_and_groovy_on_travis_ci/
+permalink: blog/announcing_support_for_java_scala_and_groovy_on_travis_ci
---
Travis CI started in early 2011 as a service for the Ruby community with the simple vision to make CI easy for OSS libraries and services. It wasn't long until we added support for Erlang, Clojure, Node.js and PHP. And, in fact, it is easy to build many other projects by supplying your own commands.
View
4 ...nnouncing_python_and_perl_support_on_travis_ci.md → ...nnouncing_python_and_perl_support_on_travis_ci.md
@@ -2,14 +2,14 @@
title: Announcing Python and Perl support on Travis CI
layout: en
created_at: Mon Feb 27 15:00:00 CET 2012
-permalink: announcing_python_and_perl_support_on_travis_ci/
+permalink: blog/announcing_python_and_perl_support_on_travis_ci
---
Just shy of a week ago we announced support for Java, Scala, and Groovy. Well, we thought to ourselves 'we already support 8 languages, why not more?', and MOAR you shall have!
Today we are happy to announce first class support for Python and Perl projects!
-Adding support for Perl and Python was a no brainer for us, not that it was easy, because it wasn't, but that both languages were sought after by their respective communities and complete the quest for the three P's (PHP, Perl, and Python).
+Adding support for Perl and Python was a no brainer for us, not that it was easy, because it wasn't, but that both languages were sought after by their respective communities and complete the quest for the three P's (PHP, Perl, and Python).
Perl, which has been around since 1987 (Genesis ["Land Of Confusion"](http://www.youtube.com/watch?v=1pkVLqSaahk))and has a toolset just as strong and mature as its community. For example, the Perl community has had a variation of Travis for the last 10 years called CPANTesters, with the difference being that CPANTesters tests releases while we test active development.
View
11 blog/index.html.erb
@@ -1,11 +0,0 @@
----
-title: The Travis Blog
----
-
-<% sorted_articles[0, 15].each do |post| %>
- <h3><a href="<%= post.path %>"><%= post[:title] %></a></h3>
- <p><%= excerptize(strip_html(post.compiled_content), :length => 420, :omission => '...') %></p>
- <p><a href="<%= post.path %>">Read More</a></p>
- <hr />
-<% end %>
-
View
14 blog/index.md
@@ -0,0 +1,14 @@
+---
+title: The Travis Blog
+layout: en
+---
+
+{% for post in site.posts %}
+### [{{ post.title }}]({{ post.url }})
+
+{{ post.content | strip_html | truncatewords: 75 }}
+
+[Read More]({{ post.url }})
+
+---
+{% endfor %}
Please sign in to comment.
Something went wrong with that request. Please try again.