Skip to content

Commit 1423913

Browse files
committed
First version.
* Clean out unnecessary things. * Add a readme. * Build out a first version of the presentation.
1 parent a55e8b2 commit 1423913

36 files changed

+410
-792
lines changed

Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
images=$(addsuffix .png,$(subst diagrams,images,$(basename $(wildcard diagrams/*.txt))))
2+
3+
all: $(images)
4+
5+
images/%.png: diagrams/%.txt
6+
ditaa $^ $@

README.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Rails Intro Course Presentation
2+
-------------------------------
3+
4+
This is the presentation for the introductory talk held at the Ruby on Rails
5+
intro course every quarter.
6+
7+
The project is based on [Jekyll 2.x](http://jekyllrb.com/) and is deployed on
8+
GitHub pages as a static HTML site.
9+
10+
Setup
11+
-----
12+
13+
To run the project locally you will need to install the `jekyll` gem:
14+
15+
gem install jekyll
16+
17+
To start the server, run this command in project root:
18+
19+
jekyll serve
20+
21+
During development it can be helpful to supply the `--watch` option to `jekyll
22+
serve` to have it restart the server when files are changed.
23+
24+
To generate images from the diagrams you will need to install
25+
[ditaa](http://ditaa.sourceforge.net/) and [GNU
26+
Make](http://www.gnu.org/software/make/). To regenerate the diagram images run:
27+
28+
make
29+
30+
Contributing
31+
------------
32+
33+
Contributions are very welcome. Please fork this repository and submit a pull
34+
request.

_config.yml

-13
Original file line numberDiff line numberDiff line change
@@ -1,14 +1 @@
1-
# Site settings
2-
title: Your awesome title
3-
4-
description: > # this means to ignore newlines until "baseurl:"
5-
Write an awesome description for your new site here. You can edit this
6-
line in _config.yml. It will appear in your document head meta (for
7-
Google search results) and in your feed.xml site description.
8-
baseurl: "" # the subpath of your site, e.g. /blog/
9-
url: "http://yourdomain.com" # the base hostname & protocol for your site
10-
twitter_username: jekyllrb
11-
github_username: jekyll
12-
13-
# Build settings
141
markdown: kramdown

_includes/footer.html

-55
This file was deleted.

_includes/head.html

-11
This file was deleted.

_includes/header.html

-27
This file was deleted.

_layouts/default.html

+30-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,38 @@
11
<!DOCTYPE html>
22
<html>
3-
4-
{% include head.html %}
5-
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width initial-scale=1">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<title>{{ page.title }}</title>
8+
<link href="http://fonts.googleapis.com/css?family=Droid+Serif" rel="stylesheet" type="text/css">
9+
<link href="/stylesheets/main.css" rel="stylesheet" type="text/css">
10+
<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
11+
<script type="text/javascript" src="/javascripts/pagination.js"></script>
12+
</head>
613
<body>
7-
8-
{% include header.html %}
9-
10-
<div class="page-content">
11-
<div class="wrapper">
14+
<main>
15+
<div class="content {{ page.justification }}">
16+
<h1>{{ page.title }}</h1>
1217
{{ content }}
1318
</div>
14-
</div>
15-
16-
{% include footer.html %}
19+
</main>
20+
<footer>
21+
<div class="pagination">
22+
{% if page.prev %}
23+
<a id="prev" href="/{{ page.prev }}.html">Previous</a>
24+
{% endif %}
1725

26+
{% if page.next %}
27+
<a id="next" href="/{{ page.next }}.html">Next</a>
28+
{% endif %}
29+
</div>
30+
<div class="sponsor">
31+
<span>Sponsored by:</span>
32+
<a href="http://thoughtbot.com">
33+
<img src="/images/thoughtbot-logo.png" alt="thoughtbot">
34+
</a>
35+
</div>
36+
</footer>
1837
</body>
19-
2038
</html>

_layouts/page.html

-14
This file was deleted.

_layouts/post.html

-15
This file was deleted.

_posts/2014-09-26-welcome-to-jekyll.markdown

-25
This file was deleted.

0 commit comments

Comments
 (0)