Skip to content

Carousel in featured.html #339

Closed Answered by markdumay
miyagidojo asked this question in Help
Discussion options

You must be logged in to vote

Unless there is a specific reason you want to use the carousel from hugo-universal-theme, I recommend you use the native Hinode carousel instead. With a little bit of tweaking, you can replace the featured section with a carousel instead. The following steps will get you started.

  1. Create a new site

    git clone https://github.com/gethinode/template.git my-hinode-site && cd my-hinode-site
  2. Install dependencies

    npm install
  3. Add a new featured partial
    Create a new file in your repository with the following path: layout/partials/home/featured.html. This replaces the default file from the Hinode core library. Add the following content to add a container that stretches across the entire page (b…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by markdumay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants