Custom Html inside the INDEX

what is the best way to add custom HTML in index page ?

What’s the “index page” you are talking about? The way to add text is to add content to _index.md files at that location and have the .content parsed in your list template.

1 Like

i want to add the image and social media icon directly into the index file !, so how I can do that?
where to copy index?
where to past that index file?
location

I wants to modify themes/layouts/index.html file so after copy that file where i need to paste that file ? Exect location

You put a copy of the file in layouts/index.html. There you can modify is as you like.

That goes for any theme file, put it in a corrosponding dir in the root pf your project.

1 Like

thank you so much its help me a lot finally I made my first website using Hugo : https://robon.space
again thank you so much everyone to help me out

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.