Skip to content

Commit

Permalink
format content using markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
kodnin committed Nov 12, 2014
1 parent 7af6b4f commit 47993f8
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 14 deletions.
1 change: 1 addition & 0 deletions Gemfile
@@ -1,3 +1,4 @@
source 'https://rubygems.org'

gem 'sinatra'
gem 'rdiscount'
2 changes: 2 additions & 0 deletions Gemfile.lock
Expand Up @@ -4,6 +4,7 @@ GEM
rack (1.5.2)
rack-protection (1.5.3)
rack
rdiscount (2.1.7.1)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
Expand All @@ -14,4 +15,5 @@ PLATFORMS
ruby

DEPENDENCIES
rdiscount
sinatra
3 changes: 2 additions & 1 deletion app.rb
@@ -1,5 +1,6 @@
require 'sinatra'
require 'rdiscount'

get '*' do
erb :index
erb :layout, locals: { content: markdown(:index) }
end
13 changes: 0 additions & 13 deletions views/index.erb

This file was deleted.

1 change: 1 addition & 0 deletions views/index.md
@@ -0,0 +1 @@
Hello, I'm **David** (27), *working* as **kodnin** and planning to *move* to **Berlin**, Germany. The past two years I *wrote* **software** as a [backend developer](http://www.inspire.nl) using *versatile* **technologies** like [Ruby](https://www.ruby-lang.org), [Rails](http://rubyonrails.org), [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript), [CoffeeScript](http://coffeescript.org), [Node.js](http://nodejs.org), [PostgreSQL](http://www.postgresql.org) and [MongoDB](http://www.mongodb.org). Currently I'm **looking** *for* a *challenging* **job**. I'm a *passionate* **learner** and **open source** *enthusiast*, I *enjoy* **coaching** at [Rails Girls](http://railsgirls.com) and *value* **practices** like [testing](https://github.com/seattlerb/minitest), [version control](http://git-scm.com) and [peer reviews](https://github.com). **Follow** *me* on [GitHub](https://github.com/kodnin) and [Twitter](https://twitter.com/kodnin), **contact** *me* via [LinkedIn](http://nl.linkedin.com/pub/david-boot/96/528/ba0) or [kodnin@gmail.com](mailto:kodnin@gmail.com).
13 changes: 13 additions & 0 deletions views/layout.erb
@@ -0,0 +1,13 @@
<html>
<head>
<title>@kodnin (David Boot)</title>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lora:400,400italic,700">
<link rel="stylesheet" type="text/css" href="reset.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="container">
<%= content %>
</div>
</body>
</html>

0 comments on commit 47993f8

Please sign in to comment.