From 3e91900cc1726cdeb9f6259a1b49a3a13def17bb Mon Sep 17 00:00:00 2001 From: Cam Findlay Date: Fri, 20 Jun 2014 10:13:07 +1200 Subject: [PATCH] Fixes to the :::ss parsing - extra tabs were breaking it. --- docs/en/tutorials/1-building-a-basic-site.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/tutorials/1-building-a-basic-site.md b/docs/en/tutorials/1-building-a-basic-site.md index a6b1c2384..a450697ec 100644 --- a/docs/en/tutorials/1-building-a-basic-site.md +++ b/docs/en/tutorials/1-building-a-basic-site.md @@ -116,7 +116,7 @@ ensures the browser knows where to locate your site's images and css files. $SiteConfig.Title These two variables are found within the html `` tag, and are replaced by the "Page Name" and "Settings -> Site Title" fields in the CMS. - + :::ss $MetaTags @@ -127,7 +127,7 @@ The MetaTags variable will add meta tags, which are used by search engines. You The Layout variable is replaced with the contents of a template file with the same name as the page type we are using. Open *themes/simple/templates/Layout/Page.ss*. You will see more HTML and more SilverStripe template replacement tags and variables. - + :::ss $Content @@ -155,7 +155,7 @@ We are now going to look at how the navigation system is implemented in the temp Open up *themes/simple/templates/Includes/Navigation.ss* The Menu for our site is created using a **loop**. Loops allow us to iterate over a data set, and render each item using a sub-template. - + :::ss <% loop $Menu(1) %> @@ -278,7 +278,7 @@ Breadcrumbs are only useful on pages that aren't in the top level. We can ensure the top level with another if statement. The *Level* page control allows you to get data from the page's parents, e.g. if you used *Level(1)*, you could use: - + :::ss $Level(1).Title