Skip to content

Slider block: only show controls/indicators if >1 slides are defined.#2949

Merged
gcushen merged 1 commit intoHugoBlox:mainfrom
cbrueffer:slider-hide-controls
Jun 18, 2023
Merged

Slider block: only show controls/indicators if >1 slides are defined.#2949
gcushen merged 1 commit intoHugoBlox:mainfrom
cbrueffer:slider-hide-controls

Conversation

@cbrueffer
Copy link
Copy Markdown
Contributor

@cbrueffer cbrueffer commented May 21, 2023

Purpose

The slider block shows slide switching controls/indicators even when only one slide is defined. This change makes showing those conditional on the number of defined slides.

This is related to #2129

@netlify
Copy link
Copy Markdown

netlify Bot commented May 21, 2023

Deploy Preview for hugo-portfolio-theme canceled.

Name Link
🔨 Latest commit 9f0c2b7
🔍 Latest deploy log https://app.netlify.com/sites/hugo-portfolio-theme/deploys/6469bc773592d5000847e7d0
@netlify
Copy link
Copy Markdown

netlify Bot commented May 21, 2023

Deploy Preview for markdown-slides canceled.

Name Link
🔨 Latest commit 9f0c2b7
🔍 Latest deploy log https://app.netlify.com/sites/markdown-slides/deploys/6469bc7730cb7a00083766e5
@netlify
Copy link
Copy Markdown

netlify Bot commented May 21, 2023

Deploy Preview for academic-demo canceled.

Name Link
🔨 Latest commit 9f0c2b7
🔍 Latest deploy log https://app.netlify.com/sites/academic-demo/deploys/6469bc773ced690008dfac05
@gcushen gcushen merged commit 92cc5a2 into HugoBlox:main Jun 18, 2023
@cbrueffer cbrueffer deleted the slider-hide-controls branch June 20, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants