Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Common Pages
  • Getting Started
    • Create a theme
    • Develop a theme
    • Setup a theme
    • Publish a theme
  • Requirements & Review
    • Overview
    • Main Requirements
    • Review Process
      • UI / UX Review
      • Technical Review
      • Metadata Review
      • Pre-Launch Review
  • Files and Folders Structure
    • Directory structure
    • Twilight.json
  • Twig Template Engine
    • Basic syntax
    • Twilight flavoured twig
  • Theme Architecture
    • Layouts
      • Overview
      • Master Layout
      • Global Variables
      • CSS Variables
      • Salla Icons
      • Custom Fonts
      • Hooks
      • Localizations
    • Pages
      • Overview
      • Home Page
      • Product Pages
        • Products listing
        • Single product
      • Customer Pages
        • Profile
        • Orders list
        • Order details
        • Wishlist
        • Notifications
      • Blog Pages
        • Blog listing
        • Single blog
      • Brand Pages
        • Brands listing
        • Single brand
      • Common Pages
        • Cart
        • Loyalty
        • Thank you
        • Single page
        • Landing Page
    • Componenets
      • Overview
      • Home Components
        • Youtube
        • Fixed banner
        • Testimonials
        • Parallax background
        • Photos slider
        • Store features
        • Square photos
        • Fixed products
        • Products slider
        • Featured products - Style 1
        • Featured Products - Style 2
        • Featured Products - Style 3
        • Brands
        • Enhanced Square Banners
        • Main Links
        • Enhanced Slider
        • Slider Products with Headers
        • Latest Products
        • Vertical Menu with Slider
      • Product Components
        • Essentials
        • Options
      • Common Components
        • Header Components
        • Footer Components
        • Comments component
  • Change Log
  1. Common Pages

Single page

Twlight provides the ability to create single pages that show static content. Examples of that are the copy right page, terms and conditions, delivery information, shipping methods, and payment methods information pages. All of these topics are essential for the store owner, as he needs them to deliver specific information to the customers. This kind of information is rarely changed. For this reason, these pages are considered static. 
Following is the page location and url:

Example#

Single page

Variables#

SinglePagePage
page
object 
optional
title
string 
optional
The title of this single page
content
string 
optional
The main content of this single page
url
string 
optional
The url of this single page
slug
enum<string> 
optional
The slug url of this single page
Allowed value:
page-single

Components#

This page starts by displaying the breadcrumbs component. The {% component breadcrumbs %} line returns the current naviation for the user.
The users' comments on a specific page may be displayed using the component {% component 'comments' %}.

Usage#

This page template receives the object page which contains the details of the static content to be displayed. For example, the developer can use the variables page.title and page.cotent which are the core of this page template.
The users' comments on a specific page may be displayed using the component {% component 'comments' %}.
Modified at 2025-03-04 12:54:02
Previous
Thank you
Next
Landing Page