Skip to main content
Mantra Theme

User account menu

  • Log in

Main navigation

  • Issues
  • Questions
  • Code Samples
  • Docs
  • Search
Open

Docs

  • Admin Pages
  • Ajax loader
  • asdf
  • Blocks
  • Buttons
  • CKEditor
  • Comments
  • Components
  • Content grid
  • CSS Aggregation
  • Details
  • Dialog
  • Dropbutton
  • Edit form
  • Fences
  • Fields
  • Form API classes
  • Formatted text
  • Forms
  • Header
  • Home
  • Icons
  • iFrame Embed
  • Image alignment
  • Layout
  • Layout Builder
  • Links
  • Media
  • Media Library Widget
  • Messages
  • Modals
  • Multiple Value Form
  • Navigation
  • Node
  • Node layout
  • Page layout
  • Page Title
  • Pager
  • Questions
  • Responsive Menu
  • Search
  • Sidebars
  • Site Header
  • Spacing
  • Starterkit Theme
  • Sticky Section Headers
  • System Libraries
  • Table Example
  • Tables
  • Tabs
  • Teaser
  • Theme
  • Toolbar
  • Typography
  • UnoCSS
  • Utilities
  • Views
  • Views Admin

Teaser

The starterkit node template attaches a node library, with a css style for unpublished.

Line 77 checks {% if label and not page %} and prints the title in an h2.

The page variable is set in node.module.

Author and date submitted format is hardcoded in the template.

Footer

  • Andrew's Classes
  • Drupal Architect
  • Inspiration