Permalink
Browse files

use better ascii characters in directory tree diagrams

  • Loading branch information...
1 parent 9a0504e commit 6f07f5230338d808fac3c13bddc6934daa1e8eaa @cobyism committed Oct 19, 2012
Showing with 24 additions and 24 deletions.
  1. +12 −12 _posts/2012-07-01-pages.md
  2. +12 −12 _posts/2012-07-01-structure.md
View
@@ -38,7 +38,7 @@ The simplest way of adding a page is just to add a HTML file in the root directo
|-- _site
|-- about.html #=> http://yoursite.com/about.html
|-- index.html #=> http://yoursite.com/
-`-- contact.html #=> http://yoursite.com/contact.html
+└── contact.html #=> http://yoursite.com/contact.html
{% endhighlight %}
### Named folders containing index HTML files
@@ -47,16 +47,16 @@ There is nothing wrong with the above method, however some people like to keep t
{% highlight bash %}
.
-|-- _config.yml
-|-- _includes
-|-- _layouts
-|-- _posts
-|-- _site
-|-- about
-| `-- index.html #=> http://yoursite.com/about/
-|-- contact
-| `-- index.html #=> http://yoursite.com/contact/
-`-- index.html #=> http://yoursite.com/
+├── _config.yml
+├── _includes
+├── _layouts
+├── _posts
+├── _site
+├── about
+| └── index.html #=> http://yoursite.com/about/
+├── contact
+| └── index.html #=> http://yoursite.com/contact/
+└── index.html #=> http://yoursite.com/
{% endhighlight %}
-This approach may not suit everyone, but for people who like clear URLs it’s simple and it works. In the end the decision is yours!
+This approach may not suit everyone, but for people who like clear URLs it’s simple and it works. In the end the decision is yours!
@@ -11,18 +11,18 @@ A basic Jekyll site usually looks something like this:
{% highlight bash %}
.
-|-- _config.yml
-|-- _includes
-| |-- footer.html
-| `-- header.html
-|-- _layouts
-| |-- default.html
-| `-- post.html
-|-- _posts
-| |-- 2007-10-29-why-every-programmer-should-play-nethack.textile
-| `-- 2009-04-26-barcamp-boston-4-roundup.textile
-|-- _site
-`-- index.html
+├── _config.yml
+├── _includes
+| ├── footer.html
+| └── header.html
+├── _layouts
+| ├── default.html
+| └── post.html
+├── _posts
+| ├── 2007-10-29-why-every-programmer-should-play-nethack.textile
+| └── 2009-04-26-barcamp-boston-4-roundup.textile
+├── _site
+└── index.html
{% endhighlight %}
An overview of what each of these does:

0 comments on commit 6f07f52

Please sign in to comment.