Témoignages

Présentation

image

Data

JSON (Osuny)

  • elements array
    • text text
    • author string
    • job string
    • photo blob
{
  "elements": [
    {
      "text": "Suspendisse non posuere nibh, eu molestie libero. Sed interdum erat id orci dictum, a vehicula justo rutrum.",
      "author": "John Doe",
      "job": "Auteur",
      "photo": {
        "id": "133bfa15-a02b-40d9-9eea-705162672ce2",
        "filename": "john-doe.jpeg",
        "signed_id": "eyJfcmFpbHMiOnsibWVz..."
      }
    },
    {
      "text": "Proin leo neque, imperdiet id tristique in, porttitor eu sem. Proin bibendum justo ultricies, imperdiet arcu id, blandit dui.",
      "author": "Jean Dupont",
      "job": "Éditeur",
      "photo": {
        "id": "6b2940b2-c166-4836-a430-a4d1f08818f9",
        "filename": "jean-dupont.jpeg",
        "signed_id": "eyJfcmFpbHMiOnsibWVz..."
      }
    }
  ]
}

Static (Hugo)

  • testimonials array
    • text text
    • author string
    • job string
    • photo references (ActiveStorage::Blob)
- template: testimonials
  title: >-
    Témoignages
  position: 1
  data:
    testimonials:
      - text: >-
          Suspendisse non posuere nibh, eu molestie libero. Sed interdum erat id orci dictum, a vehicula justo rutrum. 


        author: >-
          John Doe


        job: >-
          Auteur


        photo:
          id: "dbd6206b-e89c-4899-ac96-d1effc35f517"
          file: "dbd6206b-e89c-4899-ac96-d1effc35f517"


      - text: >-
          Proin leo neque, imperdiet id tristique in, porttitor eu sem. Proin bibendum justo ultricies, imperdiet arcu id, blandit dui.


        author: >-
          Jean Dupont


        photo:
          id: "8758cdc8-1f16-496d-b385-985782124245"
          file: "8758cdc8-1f16-496d-b385-985782124245"