<commit_before>h1. PyroStreams Page Field Type

This field type allows you to select a page from your PyroCMS page tree as a PyroStreams field.

h2. Installation

If none exists, create a _field_types_ folder in either _addons/default_ or _addons/shared_addons_ (whichever add-on folder you have PyroStreams installed in). Add the _page_ folder into the _field_types_ folder.

h2. Usage

After being assigned to a stream, the following variables are available in your layouts:

|_. Variable |_. Notes |
|{field_slug}|Full URL to the page|
|{field_slug.slug}|Page URI slug|
|{field_slug.title}|Page title|
|{field_slug.id}|Page ID|
|{field_slug.status}|Page status (draft or live)|<commit_msg>Updating the README.txt.<commit_after>h1. PyroStreams Page Field Type v1.1

This field type allows you to select a page from your PyroCMS page tree as a PyroStreams field.

h2. Installation

If none exists, create a _field_types_ folder in either _addons/<site-name> or _addons/shared_addons_. Add the _page_ folder into the _field_types_ folder.

h2. Usage

After being assigned to a stream, the following variables are available in your layouts:

|_. Variable |_. Notes |
|{field_slug:link}|Full URL to the page|
|{field_slug:slug}|Page URI slug|
|{field_slug:title}|Page title|
|{field_slug:id}|Page ID|
|{field_slug:status}|Page status (draft or live)|
{'fraction_non_alphanumeric': 0.08160237388724036, 'fraction_numerical': 0.005934718100890208, 'mean_word_length': 5.216589861751152, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2704213', 'n_tokens_mistral': 437, 'n_tokens_neox': 437, 'n_words': 170}