From c534e1fad1217c5dd938108131ba5a584a1083b1 Mon Sep 17 00:00:00 2001 From: Lukas Gaechter Date: Mon, 21 Feb 2022 17:38:35 +0100 Subject: [PATCH] Remove documentation that is not yet implemented --- docs/picture.md | 52 ------------------------------------------------- 1 file changed, 52 deletions(-) diff --git a/docs/picture.md b/docs/picture.md index 826569f..5e3f1e3 100644 --- a/docs/picture.md +++ b/docs/picture.md @@ -45,55 +45,3 @@ add_filter( 'timmy/sizes', function( $sizes ) { ### Art directed picture with fallbacks To be implemented … - -```html - - - - - - - - - - - -``` - -**Twig** - -```twig - - {{ get_timber_picture_sources('webp-picture', [ - { - media: '(min-width: 62em)' - srcset - } - ]) }} - -``` - -**Timmy config** - -```php -[ - 'webp-picture' => [ - 'type' => 'picture', - 'towebp' => true, - // This will be used - 'resize' => '', - 'sources' => [ - 'desktop' => [ - - ], - 'default' => [ - - ], - 'fallback' => [ - - ], - ], - ], -], -``` -