Fichiers

Présentation

image

Data

JSON (Osuny)

  • elements array
    • title string
    • file blob
{
  "elements": [
    {
      "title": "Course de 5km",
      "file": {
        "id": "9f2fde46-9de0-4b02-97e1-0500fc0bd2da",
        "filename": "5k.png",
        "signed_id": "eyJfcmFpbHMiOnsibWVz..."
      }
    },
    {
      "title": "Course de 10km",
      "file": {
        "id": "af05c47b-e3e2-473d-90b1-3593d53dc3a2",
        "filename": "10k.png",
        "signed_id": "eyJfcmFpbHMiOnsibWVz..."
      }
    }
  ]
}

Static (Hugo)

  • files array
    • id references (ActiveStorage::Blob)
    • title string
- template: files
    title: >-
      Un bloc files
    position: 6
    data:
      description: >-
        


      files:
        - id: "9f2fde46-9de0-4b02-97e1-0500fc0bd2da"
          file: "9f2fde46-9de0-4b02-97e1-0500fc0bd2da"


          title: >-
            Course de 5km


        - id: "af05c47b-e3e2-473d-90b1-3593d53dc3a2"
          file: "af05c47b-e3e2-473d-90b1-3593d53dc3a2"


          title: >-
            Course de 10km