Automad 1.3.2
  • Namespace
  • Class
  • Tree

Namespaces

  • Automad
    • Core
    • GUI
    • System

Classes

  • Automad
  • Cache
  • Config
  • Context
  • Debug
  • Extension
  • Filelist
  • FileSystem
  • Headless
  • Image
  • Page
  • Pagelist
  • Parse
  • Pipe
  • Regex
  • Resolve
  • Runtime
  • Selection
  • SessionData
  • Shared
  • Sitemap
  • Str
  • Toolbox
  • View

Class Headless

The Headless class provides helpers for the headless mode.

Direct known subclasses

Automad\GUI\Headless

Namespace: Automad\Core
Copyright: Copyright (c) 2019 by Marc Anton Dahmen - http://marcdahmen.de
License: license - http://automad.org/license
Author: Marc Anton Dahmen
Located at core/headless.php

Methods summary

public static string
# getTemplate( )

Checks whether a custom headless template exists and returns its path. In case there is no custom template, the path to the default template is returned.

Checks whether a custom headless template exists and returns its path. In case there is no custom template, the path to the default template is returned.

Returns

string
The path to the template file
Automad 1.3.2 API documentation generated by ApiGen