diff options
Diffstat (limited to '_posts')
| -rw-r--r-- | _posts/2011-12-31-about.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/_posts/2011-12-31-about.md b/_posts/2011-12-31-about.md new file mode 100644 index 0000000..b8ddc9f --- /dev/null +++ b/_posts/2011-12-31-about.md | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | --- | ||
| 2 | layout: post | ||
| 3 | title: "Welcome to Jekyll!" | ||
| 4 | date: 2015-11-17 16:16:01 -0600 | ||
| 5 | categories: | ||
| 6 | --- | ||
| 7 | |||
| 8 | Here is my page and it's awesome. | ||
| 9 | |||
| 10 | ```javascript | ||
| 11 | console.log('asasdasd'); | ||
| 12 | ``` | ||
| 13 | |||
| 14 | ```ruby | ||
| 15 | def show | ||
| 16 | @widget = Widget(params[:id]) | ||
| 17 | respond_to do |format| | ||
| 18 | format.html # show.html.erb | ||
| 19 | format.json { render json: @widget } | ||
| 20 | end | ||
| 21 | end | ||
| 22 | ``` | ||
| 23 | |||
| 24 | --- | ||
| 25 | |||
| 26 | {% highlight ruby %} | ||
| 27 | def show | ||
| 28 | @widget = Widget(params[:id]) | ||
| 29 | respond_to do |format| | ||
| 30 | format.html # show.html.erb | ||
| 31 | format.json { render json: @widget } | ||
| 32 | end | ||
| 33 | end | ||
| 34 | {% endhighlight %} | ||
