<commit_before><!--
repository: https://github.com/PHPoole/PHPoole/edit/master/docs/
file: 2.Pages.md
next: layouts
alias:
  - documentation/2-content
  - documentation/pages
description: "How to create pages and how to organize them."
-->
# Pages

Pages are  [Markdown](https://daringfireball.net/projects/markdown/) files (or plain text files), stored in the _content_ directory and organized in folders.
Folders in the root are called **_Section_** (ie: "Blog", "Project", etc.).

A _Page_ can contain a front matter and/or a body.

## Front matter

Any file that contains a front matter will be processed to extract variables.

> The front matter must be the first thing in the file and must be a valid [YAML](https://en.wikipedia.org/wiki/YAML).

### Example

```text
---
title: The title
date: 2013-01-01
---<commit_msg>Update 2.Pages.md<commit_after><!--
repository: https://github.com/PHPoole/PHPoole/edit/master/docs/
file: 2.Pages.md
next: layouts
alias:
  - documentation/2-content
  - documentation/content
description: "How to create pages and how to organize them."
-->
# Pages

Pages are  [Markdown](https://daringfireball.net/projects/markdown/) files (or plain text files), stored in the _content_ directory and organized in folders.
Folders in the root are called **_Section_** (ie: "Blog", "Project", etc.).

A _Page_ can contain a front matter and/or a body.

## Front matter

Any file that contains a front matter will be processed to extract variables.

> The front matter must be the first thing in the file and must be a valid [YAML](https://en.wikipedia.org/wiki/YAML).

### Example

```text
---
title: The title
date: 2013-01-01
---
{'fraction_non_alphanumeric': 0.1218335343787696, 'fraction_numerical': 0.012665862484921592, 'mean_word_length': 3.9375, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '178669', 'n_tokens_mistral': 523, 'n_tokens_neox': 491, 'n_words': 197}