retypeapp / retype

Retype is an ✨ ultra-high-performance✨ static site generator that builds a website based on simple text files.
https://retype.com
Other
1.02k stars 201 forks source link

Header Image #611

Closed sledgemasterrrr closed 10 months ago

sledgemasterrrr commented 10 months ago

I am unable to make pages have a header image while having a custom logo.

This is my test page

icon: "/logo.png"

This is a page with a top feature image as the header.

But when i download the page from the demo page everything works fine.

Is it not possible to have a header image while also choosing a custom logo? I hope I am wrong.

geoffreymcgill commented 10 months ago

Is it not possible to have a header image while also choosing a custom logo?

Should not be a problem. The demo page you linked to has both a custom header image and custom site logo. Here is the source for that page:

https://github.com/retypeapp/retype/blob/main/samples/page-with-header.md

Hope this helps.

geoffreymcgill commented 10 months ago

It dosent have a logo

Okay, I see what you are referring to, the icon config.

I have added an icon to those pages.

https://github.com/retypeapp/retype/blob/main/samples/page-with-header.md?plain=1#L2

Hope this helps.

geoffreymcgill commented 10 months ago

I tested the page using icon: /logo.png and it seems to work fine as well.