Skip to content

Commit

Permalink
Include content and style for the default scaffold.
Browse files Browse the repository at this point in the history
Fixes #44
  • Loading branch information
mblayman committed Oct 10, 2015
1 parent ebf5fd0 commit f8c91f8
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 2 deletions.
45 changes: 43 additions & 2 deletions handroll/scaffolds/default/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,46 @@ This is your first handroll site! Congratulations.

You'll notice that things are a little sparse around here.
We think that your content is your own.
What we've included here is enough to get you on
your feet without burying you in details.
What we've included here is enough to get you on your feet
without burying you in details.

When you look around,
you'll find a `handroll.conf` configuration file,
a [Jinja](http://jinja.pocoo.org/) template,
a CSS file,
and a [Markdown](http://daringfireball.net/projects/markdown/) file
with the content of this page.
With these examples to guide you,
create some new content
or change the style!

If you aren't ready to begin,
that's ok.
Let's walk you through how to work
using handroll.

## Working with handroll

handroll has two main methods
of building your website.
handroll can build a site
by scanning over the source,
generating the content,
and then stopping.
Alternatively,
handroll can build a site
by watching the source directory
and building each piece of content
as it changes.

The more convenient way to work
is with the watcher.
When handroll is using the watcher,
the tool will also run a small web server.
This web server allows you to see your changes right away.
To play with this site
using the watcher, run:

```console
$ handroll -w mysite/source
```
28 changes: 28 additions & 0 deletions handroll/scaffolds/default/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
body {
font-family: Georgia, serif;
}

h1, h2, h3, h4, h5, h6 {
border-bottom: 2px solid #d00;
font-family: Helvetica, sans-serif;
}

#container {
margin: 50px auto;
width: 600px;
}

p {
font-size: 18px;
line-height: 1.5em;
}

code {
background-color: #e4e4e4;
font-size: 16px;
padding: 7px;
}

pre {
font-size: 14px;
}
1 change: 1 addition & 0 deletions handroll/scaffolds/default/templates/base.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<meta charset="UTF-8">
<link rel='stylesheet' href='/style.css'>
<title>{% block title %}{{ title }}{% endblock %} -
handrolled for excellence</title>
<meta name='viewport' content='width=device-width' />
Expand Down

0 comments on commit f8c91f8

Please sign in to comment.