Hugo

Reuse features on different page

I’m using the Hugo Universal Theme, and I would like to reuse the features (the buttons with icons on the home page) on a different page. How do I do this?

I tried duplicating the features.html and renaming it to featuresdesk.html and editing all the places where it said “features” to “featuresdesk” within the html file, and enabling featuresdesk in the params on the config file, but I don’t see the icons anywhere on the webpage.

That file is a partial, you don’t even need to duplicate it, just add it with {{ partial features.html . }}

But if you want to use it as part of the content, you should create a shortcode: