Closed 01Kuzma closed 4 years ago
Hi! I've extended my theme from 'deliver' theme and edited the modular/showcase.html.twig I've added variaety of code samples, such as:
modular/showcase.html.twig
[owl-carousel items=1 margin=10 loop=true autoplay=true autoplayHoverPause=true nav=true] ![](image-1.jpg?cropZoom=1024,300) ![](image-2.jpg?cropZoom=1024,300) ![](image-3.jpg?cropZoom=1024,300) [/owl-carousel]
[owl-carousel items=2 margin=10 loop=true] <div style="background: url({{ page.media['image-1.jpg'].url }}) 50% 50%;background-size: cover;color:#fff;"> <h2>This is panel 1</h2> <p>foo</p> </div> <div style="background: url({{ page.media['image-2.jpg'].url }}) 50% 50%;background-size: cover;color:#fff;"> <h2>This is panel 2</h2> <p>foo</p> </div> <div style="background: url({{ page.media['image-3.jpg'].url }}) 50% 50%;background-size: cover;color:#fff;"> <h2>This is panel 3</h2> <p>foo</p> </div> [/owl-carousel] [owl-carousel ...other-settings... responsive={0:{items:1},600:{items:3},1000:{items:5}}] <!-- images --> [/owl-carousel]
But non of them are wroking. I'm just getting text output.
Nedd help please.
Grav v. 1.6.17 Shortcode Core v4.1.6 Shortcode Owl Carousel v1.0.2
Hi! I've extended my theme from 'deliver' theme and edited the
modular/showcase.html.twig
I've added variaety of code samples, such as:But non of them are wroking. I'm just getting text output.
Nedd help please.
Grav v. 1.6.17 Shortcode Core v4.1.6 Shortcode Owl Carousel v1.0.2