jgm / gitit

A wiki using HAppS, pandoc, and git
GNU General Public License v2.0
2.16k stars 226 forks source link

can not replace logo #571

Closed andrewufrank closed 8 years ago

andrewufrank commented 8 years ago

i have tried to replace the logo.png file in static/img but i always get the (mirrored lambda) dog back. i see always a directory /static.. in the root of the file system (recreated whenever gitit starts). this directory contains the dog image, independent of what is in the directory in the user's wiki.

i have gitit 0.12.1.1 compiled with ghc 8.0.1 on armhf.

otherwise: a super wiki! thank you

jgm commented 8 years ago

Yes, static/ is independent of the wiki. Just modify the logo file there (not in your wikidata directory).

+++ andrew u frank [Sep 28 16 03:00 ]:

i have tried to replace the logo.png file in static/img but i always get the (mirrored lambda) dog back. i see always a directory /static.. in the root of the file system (recreated whenever gitit starts). this directory contains the dog image, independent of what is in the directory in the user's wiki.

i have gitit 0.12.1.1 compiled with ghc 8.0.1 on armhf.

otherwise: a super wiki! thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, [1]view it on GitHub, or [2]mute the thread.

References

  1. https://github.com/jgm/gitit/issues/571
  2. https://github.com/notifications/unsubscribe-auth/AAAL5CBb0AHt0OAsV5QTvOsvNxdg2hGSks5qujq_gaJpZM4KIobj
andrewufrank commented 8 years ago

this means, i have only one logo for all wikis on the same computer? where is /static comming from (i.e. where is the file i have to change?)

is there a way that each wiki has its own logo (i.e. the one which is stored in its static folde) ? if i have more than one wiki on the same computer and it would be desirable to have three different logo files to separate the wiki and avoid mistakes. thank you for help!

jgm commented 8 years ago

You can have a different static directory for each wiki. There's a field for this in the config file. See the commented up config file.

+++ andrew u frank [Sep 28 16 14:40 ]:

this means, i have only one logo for all wikis on the same computer? where is /static comming from (i.e. where is the file i have to change?)

is there a way that each wiki has its own logo (i.e. the one which is stored in its static folde) ? if i have more than one wiki on the same computer and it would be desirable to have three different logo files to separate the wiki and avoid mistakes. thank you for help!

— You are receiving this because you commented. Reply to this email directly, [1]view it on GitHub, or [2]mute the thread.

References

  1. https://github.com/jgm/gitit/issues/571#issuecomment-250309038
  2. https://github.com/notifications/unsubscribe-auth/AAAL5HFuN7qgQdzlm2xEJhnRaZUAQO_kks5qut7LgaJpZM4KIobj
andrewufrank commented 8 years ago

thank you - i did not realize static-dir: static could be required to be set. this fixes my problem (perhaps you edit the instructions, they did confuse me at least).