danielo515 / TW5-auto-publish2gh-pages

Host your tiddlywikis in GitHub pages without any git knowledge or installing any software
MIT License
102 stars 165 forks source link

Cannot edit $:/favicon.ico #3

Closed hegart-dmishiv closed 9 years ago

hegart-dmishiv commented 9 years ago

I have a custom favicon in my old online (dev) public wiki hosted on Google Drive. I'm trying to migrate this to my new online public wiki hosted on GitHub. What I see in the GitHub web UI is that the favicon file has been split in two. The favicon.ico file, which appears to be binary content, according to your commit #a240676, is not editable in my cloned repo. The favicon.ico.meta file only contains the basic tiddler info...

title: $:/favicon.ico type: image/x-icon

...which is editable, but seems useless without the other part, which I assume is the base64-encoded binary data comprising the image itself. The resultant file hosted on GitHub is a single unified tiddler, as would normally be expected. I have no idea how to change my favicon now because of this.

I have also raised this issue in the discussion forums.

danielo515 commented 9 years ago

As I said on the forum, I think your best bet is to delete the favicon.ico file, and then create a new file replacing it. You can use http://prose.io/ to remove the file, and to create a new one. I think the best thing is to remove both, favicon.ico.meta and favicon.ico and put a tiddler containing the image in text form.

Let me know if you finally succeed.

hegart-dmishiv commented 9 years ago

Okay, done, thanks for that. Having not used Prose.io before, I was a little unsure of the interface, thinking the instructions at the bottom of the page for creating a new file were just part of the UI. Turns out they were default text, and I had saved that with my base64-encoded image. No wonder it didn't work for me at first! Hahaha.

The favicon is now working perfectly, thanks again.