footer

Information

Folder
src/components/template-components/footer

Files

Schema
// src/components/template-components/footer/schema.yaml

$schema: http://json-schema.org/draft-07/schema
$id: /template-components/footer
additionalProperties: false
type: object
required:
  - content
properties:
  content:
    type: string
    format: html
    description: template-components/footer/nav
Mocks
// src/components/template-components/footer/mocks.yaml

content:
  $render:
    - $tpl: template-components/footer/text
      $ref: template-components/footer/text
    - $tpl: template-components/footer/menu
      $ref: template-components/footer/menu
Template
// src/components/template-components/footer/footer.twig

<footer class="Footer is-dark">
	<div class="u-container">
		<div class="Footer-content">
			{{ content|raw }}
		</div>
	</div>
</footer>

Variants

default
Open