Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add and style the placeholder article

  • Loading branch information...
commit 874572dd19ce6122f5aa681b5fa1a6f5c137f045 1 parent 6f00b2e
Jeff Kreeftmeijer authored June 21, 2011
7  source/content/2011/first-post.markdown
Source Rendered
... ...
@@ -0,0 +1,7 @@
  1
+---
  2
+title: Welcome to Travis
  3
+kind: article
  4
+layout: article
  5
+---
  6
+
  7
+Hello, and _welcome_ to the Travis blog!
5  source/content/index.erb
... ...
@@ -1,8 +1,3 @@
1  
----
2  
-title: Home
3  
-kind: page
4  
----
5  
-
6 1
 <p>Travis is an attempt to create an open-source, distributed build system for the Ruby community.</p>
7 2
 
8 3
 <% sorted_articles.each do |article| %>
0  source/layouts/article.html
No changes.
4  source/layouts/default.html
@@ -21,6 +21,10 @@ <h1 class="riddle"><a href="/" title="Travis">Travis</a></h1>
21 21
       <div class="wrapper">
22 22
         <div class="pad">
23 23
           <div id="main">
  24
+            <% if item[:title] %>
  25
+              <h2><%= item[:title] %></h2>
  26
+            <% end %>
  27
+
24 28
             <%= yield %>
25 29
           </div><!-- /#main -->
26 30
           <div id="sidebar">
58  source/output/2011/first-post/index.html
... ...
@@ -0,0 +1,58 @@
  1
+<!DOCTYPE HTML>
  2
+<html lang="en">
  3
+  <head>
  4
+    <meta charset="utf-8">
  5
+    <title>Travis CI: About - Welcome to Travis</title>
  6
+    <link rel="stylesheet" type="text/css" href="/style.css" media="screen">
  7
+  </head>
  8
+  <body>
  9
+    <div id="navigation">
  10
+
  11
+    </div>
  12
+
  13
+    <div id="header">
  14
+      <div class="wrapper">
  15
+        <h1 class="riddle"><a href="/" title="Travis">Travis</a></h1>
  16
+        <p>An open-source, distributed build system for the Ruby community.</p>
  17
+      </div><!-- /.wrapper -->
  18
+    </div><!-- /#header -->
  19
+
  20
+    <div id="content">
  21
+      <div class="wrapper">
  22
+        <div class="pad">
  23
+          <div id="main">
  24
+            
  25
+              <h2>Welcome to Travis</h2>
  26
+            
  27
+
  28
+            <p>Hello, and <em>welcome</em> to the Travis blog!</p>
  29
+
  30
+          </div><!-- /#main -->
  31
+          <div id="sidebar">
  32
+            <h2>Under construction</h2>
  33
+            <ul>
  34
+              <li><p>The Travis blog is still under construction. Please check back soon for more.</p></li>
  35
+            </ul>
  36
+          </div><!-- /#sidebar -->
  37
+        </div><!-- /.pad -->
  38
+      </div><!-- /.wrapper -->
  39
+    </div><!-- /#content -->
  40
+
  41
+    <div id="footer">
  42
+      <div class="wrapper">
  43
+        <div class="box">
  44
+          <p></p>
  45
+        </div>
  46
+        <div class="box">
  47
+          <p>This site and logo was designed by the talented Ben Webster of <a href="http://www.plus2.com.au">Plus2</a>.</p>
  48
+        </div>
  49
+        <div class="box last">
  50
+          <ul>
  51
+            <li><a href="http://github.com/travis-ci/travis-ci" title="">View the Source</a></li>
  52
+            <li><a href="http://twitter.com/travisci" title="">Travis on Twitter</a></li>
  53
+          </ul>
  54
+        </div><!-- /.box -->
  55
+      </div><!-- /.wrapper -->
  56
+    </div><!-- /#footer -->
  57
+  </body>
  58
+</html>
9  source/output/index.html
@@ -2,7 +2,7 @@
2 2
 <html lang="en">
3 3
   <head>
4 4
     <meta charset="utf-8">
5  
-    <title>Travis CI: About - Home</title>
  5
+    <title>Travis CI: About - </title>
6 6
     <link rel="stylesheet" type="text/css" href="/style.css" media="screen">
7 7
   </head>
8 8
   <body>
@@ -12,7 +12,7 @@
12 12
 
13 13
     <div id="header">
14 14
       <div class="wrapper">
15  
-        <h1 class="riddle"><a href="/ts/en" title="Travis">Travis</a></h1>
  15
+        <h1 class="riddle"><a href="/" title="Travis">Travis</a></h1>
16 16
         <p>An open-source, distributed build system for the Ruby community.</p>
17 17
       </div><!-- /.wrapper -->
18 18
     </div><!-- /#header -->
@@ -21,9 +21,14 @@ <h1 class="riddle"><a href="/ts/en" title="Travis">Travis</a></h1>
21 21
       <div class="wrapper">
22 22
         <div class="pad">
23 23
           <div id="main">
  24
+            
  25
+
24 26
             <p>Travis is an attempt to create an open-source, distributed build system for the Ruby community.</p>
25 27
 
26 28
 
  29
+  <h2><a href="/2011/first-post/">Welcome to Travis</a></h2>
  30
+
  31
+
27 32
           </div><!-- /#main -->
28 33
           <div id="sidebar">
29 34
             <h2>Under construction</h2>
BIN  source/tmp/dependencies
Binary file not shown

0 notes on commit 874572d

Please sign in to comment.
Something went wrong with that request. Please try again.