Skip to content

Commit a9a08f3

Browse files
docs: #245 remove errant references to isolation mode in getting started guide (#246)
1 parent 8f24460 commit a9a08f3

1 file changed

Lines changed: 0 additions & 72 deletions

File tree

src/pages/guides/getting-started/key-concepts.md

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,6 @@ Would yield the following routes:
3838

3939
For the sake of this guide, pages can just be HTML, using just... normal HTML! You can include any `<script>`, `<style>`, `<link>`, etc tags you need.
4040

41-
<!-- prettier-ignore-start -->
42-
43-
<app-ctc-block variant="snippet">
44-
45-
```js
46-
export const isolation = true;
47-
```
48-
49-
</app-ctc-block>
50-
51-
<!-- prettier-ignore-end -->
52-
5341
```html
5442
<!-- src/index.html -->
5543
<!doctype html>
@@ -77,18 +65,6 @@ As demonstrated above, we can create an inline `<style>` tag for our page instea
7765

7866
This includes the `<script>` tag for our custom element tag `<app-header>`:
7967

80-
<!-- prettier-ignore-start -->
81-
82-
<app-ctc-block variant="snippet">
83-
84-
```js
85-
export const isolation = true;
86-
```
87-
88-
</app-ctc-block>
89-
90-
<!-- prettier-ignore-end -->
91-
9268
```html
9369
<!-- src/pages/index.html -->
9470
<!doctype html>
@@ -132,18 +108,6 @@ One thing to notice from our _index.html_ example above is that we were includin
132108

133109
In this case, we can create an _app.html_ which Greenwood will use to wrap all pages. We can use `<page-outlet></page-outlet>` to specify where we want the content's of each page to appear.
134110

135-
<!-- prettier-ignore-start -->
136-
137-
<app-ctc-block variant="snippet">
138-
139-
```js
140-
export const isolation = true;
141-
```
142-
143-
</app-ctc-block>
144-
145-
<!-- prettier-ignore-end -->
146-
147111
```html
148112
<!-- src/layouts/app.html -->
149113
<!doctype html>
@@ -165,18 +129,6 @@ In this case, we can create an _app.html_ which Greenwood will use to wrap all p
165129

166130
And now our _index.html_ can just be this:
167131

168-
<!-- prettier-ignore-start -->
169-
170-
<app-ctc-block variant="snippet">
171-
172-
```js
173-
export const isolation = true;
174-
```
175-
176-
</app-ctc-block>
177-
178-
<!-- prettier-ignore-end -->
179-
180132
```html
181133
<!-- src/pages/index.html -->
182134
<html>
@@ -211,18 +163,6 @@ Although it can be used in HTML files too, frontmatter is a YAML powered set of
211163

212164
So if wanted a layout to specifically wrap our blog posts, we can specify the name of a layout file in our markdown files:
213165

214-
<!-- prettier-ignore-start -->
215-
216-
<app-ctc-block variant="snippet">
217-
218-
```js
219-
export const isolation = true;
220-
```
221-
222-
</app-ctc-block>
223-
224-
<!-- prettier-ignore-end -->
225-
226166
<!-- prettier formats the frontmatter fences to ## :/ -->
227167
<!-- prettier-ignore-start -->
228168
```md
@@ -240,18 +180,6 @@ This is my first post, I hope you like it!
240180

241181
And now we can create a layout just for these particular pages, which themselves will get wrapped by the _app.html_ layout, if applicable.
242182

243-
<!-- prettier-ignore-start -->
244-
245-
<app-ctc-block variant="snippet">
246-
247-
```js
248-
export const isolation = true;
249-
```
250-
251-
</app-ctc-block>
252-
253-
<!-- prettier-ignore-end -->
254-
255183
```html
256184
<!-- src/layouts/blog.html -->
257185
<html>

0 commit comments

Comments
 (0)