- Welcome
- What is Lektor
- Installation
- Quickstart
- Project
- Content
- Templates
- Themes
- Guides
- Deployment
- Plugins
- Data Modelling
- Command Line
- API
  - Build System
  - Databags
  - Database
    - Asset
    - Builtin Field Types
    - Expression
    - F
    - get_alts()
    - Pad
      - databags
      - get()
      - get_root()
      - query()
      - resolve_url_path()
      - root
    - Query
    - Record
    - SourceObject
    - System Fields
    - Type
  - Environment
  - Plugins
  - Project
  - Publisher
  - Template API
  - Utilities
- Search

#### This Page

- Example

# `root`

- Property of Pad

This works exactly like get_root but always returns the primary alternative and is implemented as a property.

## Example

    <a href="{{ site.root|url }}">Go to Index</a>

## Comments