" | remove: "
" }} diff --git a/docs/_docs/10-layouts.md b/docs/_docs/10-layouts.md index 5285fcf0..39f8b288 100644 --- a/docs/_docs/10-layouts.md +++ b/docs/_docs/10-layouts.md @@ -273,6 +273,14 @@ header: image: http://some-site.com/assets/images/image.jpg ``` +To provide a custom alt tag for screen readers: + +```yaml +header: + image: /assets/images/unsplash-image-1.jpg + image_description: "A description of the image" +``` + To include a caption or attribution for the image: ```yaml