Permalink
Browse files

Better sample website.

  • Loading branch information...
1 parent c0c1188 commit 41e17a100d766facf2a45857ad394aef4edce01b @ludovicchabant committed Oct 7, 2011
@@ -1,5 +1,7 @@
site:
title: Your New PieCrust Website
+ description: A sample website running with PieCrust
+ author: Anonymous
pretty_urls: false
smartypants:
Deleted file not rendered
@@ -1,12 +0,0 @@
----
-title: Not found
----
-
-## Where did all the jam go?
-
-![no more jam][jam]
-
-We can't find the article or resource you were looking for. Maybe we should
-go ask the neighbours for some more.
-
- [jam]: {{ asset.jam_jpg }}
Deleted file not rendered
@@ -1,12 +0,0 @@
----
-title: Oops, something went wrong
----
-
-## Oops, we broke some eggs!
-
-![the eggs are broken][egg]
-
-We're very sorry but something unexpected happened. We're gonna have to clean the floor
-and buy more eggs.
-
- [egg]: {{ asset.broken_egg_jpg }}
@@ -8,7 +8,33 @@
blog with a few posts. If you intend to write a lot of blog posts with tags and categories,
please look into [baking your site][1] for better performance.
-You just need to add the really tasty bits!
+## More stuff
+
+There's a few other things set up for you:
+
+* Some templates for adding [Blueprint][2] or [Less][3] to your pages. This very page is
+ actually rendered with them.
+* Some macros to add a [Disqus][4] thread or some [Google analytics][5] to your pages. One
+ macro we're using here is the one to import a [Google WebFont][6].
+
+
+## What now?
+
+Now you just need to add the really tasty bits!
+
+* Edit the `_content/config.yml` file and change what obviously needs to be.
+* Add new pages in `_content/pages`, edit or remove the `about` page.
+* Get rid of the sample posts in `_content/posts` and add your own.
+* Drop in your own CSS.
+* Change some of the template files in `_content/templates/` (_e.g._ `default`, `blog`, `post`
+ and `partial_post`).
+* Make yourself at home!
+
[PieCrust]: http://bolt80.com/piecrust/
[1]: http://bolt80.com/piecrust/doc/baking
+ [2]: http://blueprintcss.org
+ [3]: http://lesscss.org
+ [4]: http://disqus.com
+ [5]: http://www.google.com/analytics
+ [6]: http://www.google.com/webfonts
Deleted file not rendered
@@ -2,7 +2,7 @@
title: About this website
---
-This website is just a bunch of sample stuff to show you want you can do in *PieCrust*. But other than that,
+This website is just a bunch of sample stuff to show you what you can do in **PieCrust**. But other than that,
there's not much to it -- I mean, you can probably see that this content is pretty useless.
Oh, by the way, don't forget to read the [documentation] so you can replace all those pages with your own.
@@ -4,39 +4,39 @@
<head>
<title>{{ site.title }}{% if page.title is not empty %} &mdash; {{ page.title }}{% endif %}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="description" content="{{ site.description }}" />
+ <meta name="author" content="{{ site.author }}" />
<meta name="generator" content="PieCrust {{ piecrust.version }}" />
<meta name="template-engine" content="Twig" />
{% include('blueprint.html') %}
<link rel="stylesheet/less" href="{{ site.root }}css/default.less" type="text/css" media="all" />
{% include('less.html') %}
- {{ google.webfonts('Lobster|Covered+By+Your+Grace') }}
+ {{ google.webfonts('Lobster') }}
</head>
<body>
- <div id="container">
- <div id="header">
+ <div id="container" class="container">
+ <div id="header" class="span-24 last">
{% block header %}
<h1><a href="{{ site.root }}">{{ site.title }}</a></h1>
{% endblock %}
</div>
- <hr />
- <div id="menu">
- <div id="menu-inner">
+ <div id="menu" class="span-4 push-20 last">
+ <div class="menu">
<ul>
<li><a href="{{ site.root }}">Home</a></li>
<li><a href="{{ pcurl('blog') }}">Blog</a></li>
<li><a href="{{ pcurl('about') }}">About</a></li>
</ul>
</div>
</div>
- <hr />
- <div id="content">
- <div id="content-inner">
+ <div id="content" class="span-20 pull-4 last">
+ <div class="content">
{% block content %}
{{ content|raw }}
{% endblock %}
</div>
</div>
- <div id="footer">
+ <div id="footer" class="span-24 last">
{% block footer %}
<p>{{ piecrust.branding|raw }}</p>
{% endblock %}
Oops, something went wrong.

0 comments on commit 41e17a1

Please sign in to comment.