From 6cf9f126d19d50cbd6c338247b506ebd620bec0e Mon Sep 17 00:00:00 2001 From: Phillip Jackson Date: Sun, 19 Jan 2014 12:41:19 -0600 Subject: [PATCH 1/2] Update Rendering Templates URL Per http://statamic.com/learn/core-concepts/pages-and-entries, it states that urls are built as follows - '/folder-name/sub-folder-name' with page.md being called by default. Corrected URL in div.alert to reflect this, since it was dead --- 07-view/04-data/page.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07-view/04-data/page.md b/07-view/04-data/page.md index c99ba0a..a47ac6c 100644 --- a/07-view/04-data/page.md +++ b/07-view/04-data/page.md @@ -6,7 +6,7 @@ status: live
Heads Up! Rarely will you set or append data directly on the view object. Usually, you pass data to the view with the Slim application's `render()` method. - See Rendering Templates. + See Rendering Templates.
The view object's `setData()` and `appendData()` methods inject data into the view object; the injected data is From 1a4f8a6f97681f486a9d7d586c207cbb2e8369e8 Mon Sep 17 00:00:00 2001 From: Phillip Jackson Date: Wed, 29 Jan 2014 15:08:14 -0600 Subject: [PATCH 2/2] Update Render Link Yep! Your right. I totally looked at this too hard. --- 07-view/04-data/page.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07-view/04-data/page.md b/07-view/04-data/page.md index a47ac6c..f2eda40 100644 --- a/07-view/04-data/page.md +++ b/07-view/04-data/page.md @@ -6,7 +6,7 @@ status: live
Heads Up! Rarely will you set or append data directly on the view object. Usually, you pass data to the view with the Slim application's `render()` method. - See Rendering Templates. + See Rendering Templates.
The view object's `setData()` and `appendData()` methods inject data into the view object; the injected data is