You are here

article_dummy.template.yml in YAML Content 8.2

content/article_dummy.template.yml

File

content/article_dummy.template.yml
View source
  1. # A simple article template to demonstrate template usage.
  2. #
  3. # The template is included directly into the parent, so this may impact whether
  4. # the top level should be an array or not as seen in typical content files.
  5. ---
  6. entity: "node"
  7. type: "article"
  8. title: "Basic Article"
  9. status: 1
  10. # Rich text fields contain multiple keys that must be provided.
  11. body:
  12. format: "basic_html"
  13. # Using a pipe we can define content across multiple lines.
  14. value: |
  15. <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vobis
  16. voluptatum perceptarum recordatio vitam beatam facit, et quidem corpore
  17. perceptarum. Tum Quintus: Est plane, Piso, ut dicis, inquit.</p>
  18. <p>Primum cur ista res digna odio est, nisi quod est turpis? Duo Reges:
  19. constructio interrete. Rhetorice igitur, inquam, nos mavis quam
  20. dialectice disputare?</p>