python - How to add a favicon to a Pelican blog? -


i creating static site pelican , i'm confused how add favicon it.

i've seen in documentation that:

you can use extra_path_metadata mechanism place favicon.ico or robots.txt @ root of site.

i don't know put favicon.ico file , specify in extra_path_metadata setting (if setting should used).

in my pelicanconf.py, have:

static_paths = [     'images',      'extra/robots.txt',      'extra/favicon.ico' ] extra_path_metadata = {     'extra/robots.txt': {'path': 'robots.txt'},     'extra/favicon.ico': {'path': 'favicon.ico'} } 

the structure these files then:

/content     /extra         favicon.ico         robots.txt 

see the documentation, shows similar layout.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -