PaperMod: Hugo.yaml or config.yml and home page image problems

Despite being very new to this, I’m working to launch a site with the PaperMod theme and I have a problem with the image of the home page that does not appear to me.

  1. In the installation instructions it gives three home page options and indicates the code to include in a config.yml file that does not appear to me, I have seen that it seems to work using the hugo.yaml file. What is the difference between the two?
  2. In the home page profile image, where should it be placed? I am placing it in the assets folder, but it does not show it.
    Thanks
assets/
└── images/
    └── home.jpg

site configuration file

params:
  profileMode:
    imageUrl: "/images/home.jpg" 

If you’re using the YAML format for your site configuration as shown above, you can name your site configuration file any of the following:

  • hugo.yml
  • hugo.yaml
  • config.yml (legacy but still supported)
  • config.yaml (legacy but still supported)

And to be clear, you should only have ONE of the above, not some combination thereof.

1 Like

Thanks, :slightly_smiling_face:

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