Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fixing yaml examples

...

Localtab Group
Localtab
activetrue
titleYAML file
Code Block
languageyamlyml
title/module-a/renderers/json.yaml
urlhttps://git.magnolia-cms.com/projects/DOCUMENTATION/repos/having-fun-with-yaml/raw/light-modules/module-a/renderers/json.yaml?at=master
!inherit:freemarker
contentType: application/json

The above example requires the Magnolia specific !inherit directive available since Magnolia 5.5.6

Localtab
titleJCR node
Advanced Tables - Table Plus
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse

Node name

Value

Mgnl f
modules


Mgnl f
rendering


Mgnl f
renderers


Mgnl n
json


Mgnl p
contentType

application/json

Mgnl p
extends

../freemarker

Mgnl p
type

json

Note that you can extend the default freemarker renderer.

...