Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

Commit

Permalink
Update 1.Overview.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Aug 31, 2016
1 parent 8cbb80f commit 61bafd8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/1.Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To create a new website, we need 3 things:
1. Documents written in [Markdown](https://daringfireball.net/projects/markdown/)
2. [Twig](http://twig.sensiolabs.org) templates
3. [PHPoole CLI](https://github.com/Narno/PHPoole) or a build script
3. [PHPoole CLI](https://github.com/Narno/PHPoole) **or** a build script

## Content organization
```
Expand All @@ -17,9 +17,9 @@ To create a new website, we need 3 things:
| └─ About.md <- A Page in the root
├─ layouts <- Contains Twig templates
| ├─ _default <- Contains default templates
| | ├─ list.html <- Used by a _list_ node type (ie: Section)
| | └─ page.html <- Used by the _page_ node type
| └─ index.html <- Used by the _homepage_ node type
| | ├─ list.html.twig <- Used by a 'list' node type (ie: a Section)
| | └─ page.html.twig <- Used by the 'page' node type
| └─ index.html.twig <- Used by the 'homepage' node type
└─ static <- Contains static files
└─ robots.txt <- A static file
```
Expand All @@ -31,7 +31,7 @@ Use [PHPoole](https://github.com/Narno/PHPoole) CLI and run the following comman
$ phpoole build -s
```

Or create a PHP script:
**Or** create a PHP script:
```php
<?php
date_default_timezone_set('Europe/Paris');
Expand Down

0 comments on commit 61bafd8

Please sign in to comment.