petrnohejl / minimal-xy

Pelican blog theme.
MIT License
37 stars 23 forks source link

Help with favicon #3

Closed vitorsr closed 6 years ago

vitorsr commented 6 years ago

The favicon.ico file is being correctly moved to the root folder, but it does not appear as an icon on my published website.

Right now this is what I'm doing:

# according to https://github.com/getpelican/pelican/wiki/Tips-n-Tricks
STATIC_PATHS = ['images', 'extra/robots.txt', 'extra/favicon.ico']
EXTRA_PATH_METADATA = {
    'extra/robots.txt': {'path': 'robots.txt'},
    'extra/favicon.ico': {'path': 'favicon.ico'}
}

and

MINIMALXY_FAVICON = '/path/to/favicon.ico'

Is there a proper way to do this? What could I possibly be doing wrong? What the MINIMALXY_FAVICON is doing here?

P.S. Thanks for the theme, it's great!

vitorsr commented 6 years ago

Sorry for being dumb, extra moves it to the root apparently? Solved it by simply:

MINIMALXY_FAVICON = 'favicon.ico'