Docs > API > Section

A directory in your site folder hierarchy.
Properties
name The full section name. For example: "Latest news/Science & Technology"
path The normalized form of the section name, which is used in URLs. For example: "latest-news/science-technology"
Methods
Section.exists(path) Static method returning true if the section already exists.
Section.extract(path) Static utility method for extracting parts of a section.
Section.get(path [,create]) Static method returning the specified section. If the section is not found and the second argument is true, then a new section is created.
Section.normalize(string) Returns a string which is a valid path.

Can't find what you're looking for?

Let us know and we'll see if we can help.