theNewDynamic / gohugo-theme-ananke

Ananke: A theme for Hugo Sites
https://gohugo-ananke-theme-demo.netlify.com/
MIT License
1.1k stars 1.13k forks source link

How to use https for featured image? #571

Closed pietrodito closed 1 year ago

pietrodito commented 1 year ago

I have set this up in content/_index.md:

cascade:                                                                                                                                                       
  featured_image: 'image/welcome.jpg'

I get that message in firefox:

Parts of this page are not secure (as images)

And when I look at the html source code of the index page I see:

<header class="cover bg-top" style="background-image: url('http://www.-------.fr/image/welcome.jpg');">

Would it be possible to get those links in https?

jhenstridge commented 1 year ago

Is the baseURL in your site configuration an http URI, by any chance?

pietrodito commented 1 year ago

You are right! My bad...