Edit the Template

Edit the Template

When you select the "Document Type with Template" option while creating a Document Type in Umbraco, it automatically generates a corresponding template for that Document Type. This feature simplifies the process of creating and managing content in Umbraco.

- Go to Settings.
- Expand the Templates folder in the Templating section of the tree. You should see a template titled HomePage.
Open the template. It will contain a little bit of Razor code.

- Home Page Template
- Leaving the code that's there (if you don't understand it, don't worry!) let's copy our template code in.
- We are using files from the Custom Umbraco Template.
- Open the Custom Umbraco Template folder and copy the contents of index.html.
- Paste the content into the HomePage template below the closing curly brace "}".
Umbraco Templates uses Razor which allows you to add code to your Template files. Razor reacts to @ signs.
- Click Save.
    • Related Articles

    • Layout Template

      Senior River CMS provides a Layout Template feature that allows you to customize the appearance and structure of your website's pages. To manage layout templates: - Log in to the Senior River CMS admin panel. - Navigate to the "Layout Templates" ...
    • Adding new pages

      Add a new standard page A 'standard' page refers to a webpage containing a single block of editable content, such as an 'about' or 'terms' page. Decide on the new page’s location in your navigation. - Right-click on your page tree - Select the “add ...
    • Editing a Folder

      To edit an existing folder: - Select the folder you want to edit from the Media tree. - Edit the title at the top of the page. - Click Create to add another media type or drag and drop your files into the Upload field. - Click Save.
    • Editing Existing Content

      When you are looking to edit content, locate the page you want to edit in the section tree on the left side of the screen. To edit existing content, follow these steps: - Navigate to the Content section. - Select the page in the section tree you wish ...
    • Automatic communications & Communication Templates

      Communication templates - Access the Memberbase dashboard. - Navigate to “communication template”. - Click on “Create communication template”. - Input the required field. - Click on the checkbox based on the forms you want your template to be sent. - ...