Skip to content

Commit e513928

Browse files
eshanrnhgitbook-bot
authored andcommitted
GITBOOK-27: Removed redundant line
1 parent 30bc22e commit e513928

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

15/umbraco-cms/tutorials/creating-a-basic-website/creating-your-first-template-and-content-node.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ Umbraco creates a corresponding template when you select the **Document Type wit
55
To edit the template:
66

77
1. Go to **Settings**.
8-
2. Expand the **Templates** folder in the **Templating** section of the tree. You should see a template titled **HomePage**.
8+
2. Expand the **Templates** folder in the **Templating** section of the tree. You should see a template titled **HomePage**.
99

1010
{% hint style="info" %}
1111
If you do not see the template, try refreshing the page.
1212
{% endhint %}
13-
14-
3. Open the template. It contains a little bit of Razor code.
13+
3. Open the template. It contains a little bit of Razor code.
1514

1615
**Code Breakdown:**
1716

@@ -21,12 +20,12 @@ To edit the template:
2120

2221
![Home Page Template](images/empty-homepage-template.png)
2322

24-
4. Paste the template code, while leaving the code that is already there.
25-
* We are using the files from the [Custom Umbraco Template](https://umbra.co/Umbracotemplate) folder. Clicking the link will automatically download the files to your device.
26-
5. Open the **Custom Umbraco Template** folder and copy the contents of **index.html**.
27-
6. Paste the content into the _HomePage_ template below the closing curly brace "}".
23+
We will use the files from the [Custom Umbraco Template](https://umbra.co/Umbracotemplate) folder. Clicking the link will automatically download the files to your device.
24+
25+
1. Open the **Custom Umbraco Template** folder and copy the contents of **index.html**.
26+
2. Paste the content into the _HomePage_ template below the closing curly brace "}".
2827
* Umbraco _**Templates**_ uses _**Razor**_ that allows you to add code in your _**Template**_ files. _**Razor**_ reacts to `@` signs.
29-
7. Click **Save**.
28+
3. Click **Save**.
3029

3130
We now have a _Template_. That's two out of the three stages complete for our first page.
3231

@@ -39,21 +38,21 @@ To add a content node:
3938
1. Go to **Content**.
4039
2. Select **...** next to **Content** in the tree.
4140
3. Click **Create**.
42-
4. Select **HomePage**. The Home Page opens in the content editor.
41+
4. Select **HomePage**. The Home Page opens in the content editor.
4342

4443
* If you cannot see the content node, check that **Settings** > **Document Types** > **HomePage** > **Structure** > **Allow at root** is enabled.
4544

4645
![Home Page Content Node](images/create-a-homepage-content-node.png)
4746
5. Enter the **Name** for the content node. We are going to call this _Homepage_.
4847
* The name will show up in the node list and will be used to create a URL for the page. Try to keep it short but descriptive.
49-
6. Enter the following details:
48+
6. Enter the following details:
5049

5150
| Name | Description |
5251
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
5352
| Page Title | Welcome to Widgets Ltd |
5453
| Body Text | <p><strong>Lorem ipsum</strong></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et aliquet ante, ut eleifend libero.</p><ul><li>Proin eleifend consequat nunc id vulputate.</li><li>Ut eget lobortis metus, non congue lorem.</li><li>Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</li><li>Maecenas tempus non lectus rhoncus efficitur.</li></ul><p>Sed est ligula, maximus in dolor sed, lacinia egestas ligula. Donec eu nisi lectus.</p><p><em>Morbi pharetra pulvinar arcu non gravida.</em></p> |
5554
| Footer Text | Copyright Widgets Ltd 2024 |
56-
7. Click **Save and Publish**. The content tree will reload with the homepage node.
55+
7. Click **Save and Publish**. The content tree will reload with the homepage node.
5756

5857
![Home Page in Content Tree](images/homepage-in-content-tree.png)
5958

0 commit comments

Comments
 (0)