As you can see, I’ve a put the paramater background = "images/default-background.jpg" but the picture doesn’t appear as a background.
What I don’t understand is : for the parameters main, inverted and favicon, each pictures are displayed correctly so why the parameters background doesn’t works ?
I don’t really understand where is the problem…
And I’ve noted an other problem ( don’t know if this is the answer at my problem ). When I look the source code of my blog :
Indeed the problem is in the background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $src.RelPermalink }}'); part.
I’ve tested to delete the /blog at the end of the baseURL in my config.toml but it seems that gitlab need it to generate correctly the theme. Withouh the /blog, my blog looks like a simply html page.
I’ve tested your proposition : background-image: url('{{ $tiny.Permalink }}'), it didn’t work.
I’ve tested too this : background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}/{{ $src }}') and by adding the /blog at the end of my baseURL
Did you check that the browser downloads the image (Developer Tools/Network)? If it doesn’t, you’ll not see a background image, of course. And “the URL seems” good seems dubious if you don’t see the image.
At the beginning, the URL was https://ezzmazz.gitlab.io/blog/blog/images/default-background.jpg. When I deleted one of the /blog, the picture appeared correctly. To show, I’ve created an other blog. I’ve no background.
With the developer tools, I can see that the URL to get the picture of the background is :